|
Search: id:A123371
|
|
|
| A123371 |
|
Smallest number k>1 such that (1 + Sum[ i^(2n - 1), {i,1,k} ]) is prime, or 0 if no such number k exists. |
|
+0 1
|
|
| 3, 3, 3, 4, 35, 16, 7, 4, 11, 55, 112, 183, 36, 51, 23, 56, 8, 16, 32, 28, 115, 135, 44, 15, 28, 111, 43, 364, 80, 44, 144, 59, 3, 48, 68, 75, 63, 48, 175, 228, 416, 39, 163, 251, 7, 331, 35, 4, 412, 4, 152, 63, 483, 11, 239, 75, 47, 11, 32, 3, 163, 211, 44, 40, 155, 555
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
Conjecture: a(n)>0 exists for all n.
|
|
EXAMPLE
|
a(1) = 3 because 1 + Sum[ i, {i,1,3} ] = 1 + (1 + 2 + 3) = 7 is prime and 1 + (1 + 2) = 4 is composite.
a(2) = 3 because 1 + Sum[ i^3, {i,1,3} ] = 1 + (1^3 + 2^3 + 3^3) = 37 is prime and 1 + (1^3 + 2^3) = 10 is composite.
|
|
CROSSREFS
|
Sequence in context: A091849 A035567 A108688 this_sequence A011277 A084742 A049613
Adjacent sequences: A123368 A123369 A123370 this_sequence A123372 A123373 A123374
|
|
KEYWORD
|
hard,nonn
|
|
AUTHOR
|
Alexander Adamchuk (alex(AT)kolmogorov.com), Nov 09 2006
|
|
|
Search completed in 0.002 seconds
|