login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
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; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Conjecture: a(n)>0 exists for all n.
LINKS
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: A266688 A347139 A285286 * A011277 A084742 A242033
KEYWORD
hard,nonn
AUTHOR
Alexander Adamchuk, Nov 09 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 13:38 EDT 2024. Contains 371712 sequences. (Running on oeis4.)