The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A121819 Minimal number m such that prime(1)^n + ... + prime(m)^n is prime. 1
 1, 2, 4, 2, 66, 26, 6, 18, 8, 126, 48, 38, 144, 696, 38, 234, 666, 60, 4, 228, 216, 212, 168, 290, 6, 702, 14, 78, 120, 614, 222, 44, 104, 66, 58, 54, 152, 260, 858, 74, 108, 164, 336, 152, 424, 60, 118, 1154, 112, 14, 1530, 14, 296, 654, 1782, 474, 444, 462, 1338, 468 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Charles R Greathouse IV, Table of n, a(n) for n = 1..1000 EXAMPLE a(1) = 1 because 2 = 2^1 is prime. a(2) = 2 because 13 = 2^2 + 3^2 is prime but 2^2 is not prime. a(3) = 4 because 503 = 2^3 + 3^3 + 5^3 + 7^3 is prime but 8 = 2^3, 35 = 2^3 + 3^3, 160 = 2^3 + 3^3 + 5^3 are not prime. PROG (PARI) a(n)=my(m, s); forprime(p=2, , m++; if(isprime(s+=p^n), return(m))) \\ Charles R Greathouse IV, Sep 25 2016 CROSSREFS Sequence in context: A130172 A303320 A029589 * A134138 A351427 A201911 Adjacent sequences: A121816 A121817 A121818 * A121820 A121821 A121822 KEYWORD nonn AUTHOR Alexander Adamchuk, Aug 26 2006 EXTENSIONS Name edited by Charles R Greathouse IV, Sep 25 2016 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.

Last modified May 19 00:35 EDT 2024. Contains 372666 sequences. (Running on oeis4.)