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!)
A027886 Primes of form n + (n+1)^2 + (n+2)^3 + (n+3)^4 + (n+4)^5. 6
3413, 171851, 800143, 21146189, 92361319, 233915567, 287889649, 351395251, 511939063, 611695897, 857765101, 1369378627, 1585717909, 4487418853, 7816697183, 14152933547, 22107078277, 26146483801, 30755875373, 69098926867, 84378396409, 155844134429, 174691507057 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
f[n_]:=(n+1)^1+(n+2)^2+(n+3)^3+(n+4)^4+(n+5)^5; lst={}; Do[a=f[n]; If[PrimeQ[a], AppendTo[lst, a]], {n, 0, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, May 30 2009 *)
PROG
(PARI) forstep(n=1, 100, 2, if(isprime(p=n^5 + 21*n^4 + 173*n^3 + 701*n^2 + 1403*n + 1114), print1(p", "))) \\ Charles R Greathouse IV, Oct 03 2013
(Magma) [a: n in [0..250] | IsPrime(a) where a is n+(n+1)^2+(n+2)^3 +(n+3)^4+(n+4)^5]; // Vincenzo Librandi, Oct 05 2013
CROSSREFS
Sequence in context: A224744 A151772 A109482 * A165942 A179427 A031787
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(18)-a(23) from Vincenzo Librandi, Oct 04 2013
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 June 20 23:18 EDT 2024. Contains 373535 sequences. (Running on oeis4.)