login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A216977
Primes of the form n^5+2.
4
2, 3, 59051, 161053, 759377, 14348909, 90224201, 345025253, 601692059, 12762815627, 73439775751, 183765996901, 296709280759, 503756397101, 576650390627, 657748550153, 1572763671877, 1751989905403, 1880287678127, 2389769101501, 3101364196877, 3201078401359
OFFSET
1,1
COMMENTS
Subsequence of A053788. [Bruno Berselli, Sep 21 2012]
LINKS
MATHEMATICA
lst={}; Do[p=n^5+2; If[PrimeQ[p], AppendTo[lst, p]], {n, 6!}]; lst
Select[Table[n^5 + 2, {n, 0, 400}], PrimeQ] (* Vincenzo Librandi, Mar 15 2013 *)
PROG
(PARI)
v=select(n->isprime(n^5+2), vector(2000, n, n-1)); /* A216976 */
vector(#v, n, v[n]^5+2)
/* Joerg Arndt, Sep 21 2012 */
(Magma) [a: n in [0..400] | IsPrime(a) where a is n^5+2]; // Vincenzo Librandi, Mar 15 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michel Lagneau, Sep 21 2012
STATUS
approved