The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A100358 Numbers n such that 2^n+n^3+1 is prime. 3
 0, 2, 6, 8, 20, 38, 96, 146, 236, 458, 726, 962, 1422, 2864, 3858, 5228, 9822, 21774, 32336, 33336, 43556 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS a(22) > 200000. - Giovanni Resta, Mar 23 2014 a(22) > 400000. - Robert Price, Sep 01 2014 LINKS MAPLE A100358:=n->`if`(isprime(2^n+n^3+1), n, NULL): seq(A100358(n), n=0..10^3); # Wesley Ivan Hurt, Sep 01 2014 MATHEMATICA {ta={{0}}, tb={{0}}}; Do[g=n; s=2^n+n^3+1; If[PrimeQ[s], Print[n]; ta=Append[ta, n]; tb=Append[tb, s]], {n, 1, 10000}]; {ta, tb, g} PROG (PARI) for(n=1, 10^5, if(ispseudoprime(2^n+n^3+1), print1(n, ", "))) \\ Derek Orr, Sep 01 2014 CROSSREFS Cf. A001580, A069539, A100357. Sequence in context: A093968 A064713 A162213 * A134136 A185165 A289892 Adjacent sequences:  A100355 A100356 A100357 * A100359 A100360 A100361 KEYWORD more,nonn AUTHOR Labos Elemer, Nov 19 2004 EXTENSIONS a(17)-a(21) from Giovanni Resta, Mar 23 2014 STATUS approved

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

Last modified August 14 08:08 EDT 2020. Contains 336480 sequences. (Running on oeis4.)