

A144311


The length of the longest sequence of consecutive integers, each equal 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
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

For n>1, a(n)==5 (mod 6).


LINKS

Table of n, a(n) for n=1..16.
StackExchange, OEIS A144311 Generating function, May 10 2016.


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
Adjacent sequences: A144308 A144309 A144310 * A144312 A144313 A144314


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



