login
A144311
The length of the longest sequence of consecutive integers, each equal to 1 or -1 modulo at least one of the first n primes.
1
1, 5, 11, 29, 41, 65, 107, 149, 203, 257, 347, 527, 545, 617, 707, 869
OFFSET
1,2
COMMENTS
For n > 1, a(n) == 5 (mod 6).
EXAMPLE
For the first, second and fourth terms the sequences are {1}, {1,2,3,4,5}, and {73,74,...,101}. [corrected by Felix A. Pahl, May 10 2016]
CROSSREFS
Cf. A058989.
Sequence in context: A049489 A242383 A141785 * A074367 A088486 A174917
KEYWORD
nonn,more,hard
AUTHOR
Andrew Carter (acarter09(AT)newarka.edu), Sep 17 2008
EXTENSIONS
a(8)-a(16) from Max Alekseyev, Nov 18 2009
STATUS
approved