There are various theories as to the significance of those numbers. Apparently the official explanation is "we drank too much that night". But there's a more interesting hypothesis: Bono is referring to some integer sequence from OEIS, such as
10^k + 31is prime.
In an interview, when asked the inevitable question "why 14", Bono admitted he was a bit tired of that number. The journalist suggested "15" instead, and in that night's concert the lyrics were indeed changed into "1, 2, 3, 15". (The story can be read here, in Spanish). Quite likely the journalist took inspiration from
prime(k) - kis a power of
Write two programs in the same language. The first should take an input
n and output the
n-th term of A107083, or the first
n terms. Similarly, the second should output the
n-th term of A221860, or the first
The score is the sum of lengths of the two programs, in bytes, plus the square of the Levenshtein distance between the byte representations of the two programs.
If a character encoding is used such that each character corresponds to one byte, this script can be used to measure Levenshtein distance.
For example, if the two programs are
bcdEEfg, the score is
8 + 7 + 4^2 = 31.
Lowest score wins.
The output can be
0-based, independently for each sequence (so it is allowed if one of the programs is
1-based and the other is
Each program can, consistently but independently of the other, either output the
n-th term or the first
Programs or functions are allowed, independently for each sequence.