|
| |
|
|
A144311
|
|
The length of the longest sequence of consecutive integers, each equal 1 or -1 modulo at least one of the first n primes
|
|
0
| |
|
|
1, 5, 11, 29, 41, 65, 107, 149, 203, 257, 347, 527, 545, 617, 707, 869
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
COMMENTS
| For n>1, a(n)==5 (mod 6).
|
|
|
EXAMPLE
| For the first three terms the sequences are {1}, {1,2,3,4,5}, and {73,74,...,101}.
|
|
|
CROSSREFS
| Cf. A058989
Sequence in context: A019345 A049489 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 (maxale(AT)gmail.com), Nov 18 2009
|
| |
|
|