login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A109257
Let S(k) be the set of signed differences of pairs of primes <= k. a(n) is the least k such that S(k) contains all residues mod prime(n).
2
5, 5, 7, 17, 13, 29, 19, 41, 53, 31, 67, 79, 43, 89, 97, 109, 61, 127, 137, 73, 149, 163, 173, 181, 197, 103, 211, 109, 223, 229, 257, 269, 139, 281, 151, 307, 317, 331, 337, 349, 181, 367, 193, 389, 199, 401, 433, 449, 233, 461, 479, 241, 487, 509, 521, 557
OFFSET
1,1
COMMENTS
First differs from A088047 at the 49th term: prime(49) = 227, a(49) = 233, A088047(49) = 229. The next differences are at prime(n) = 347, 1667, 1697, 1787...
FORMULA
a(n) = A109258(prime(n)).
CROSSREFS
KEYWORD
easy,nonn,less
AUTHOR
David Wasserman, Jun 23 2005
STATUS
approved