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

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A212883 Numbers n such that n^4 - prime(n) is prime. 5
 2, 6, 40, 76, 144, 146, 148, 166, 168, 174, 186, 192, 210, 220, 222, 230, 238, 240, 258, 290, 338, 364, 372, 378, 384, 398, 400, 402, 442, 446, 482, 492, 532, 536, 554, 570, 606, 628, 654, 700, 740, 882, 888, 944, 954, 964, 966, 978, 1038, 1040, 1072, 1080 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS See A064712 for the sequence of values of n such that n^2-prime(n) is prime. - John W. Layman, May 29 2012 All terms are even. - M. F. Hasler, Jun 02 2012 LINKS Robert Israel, Table of n, a(n) for n = 1..10000 MAPLE A[1]:= 2: p:= 3: count:= 1: for n from 4 to 10^4 by 2 do    p:= nextprime(nextprime(p));    if isprime(n^4-p) then      count:= count+1;      A[count]:= n;    fi od: seq(A[i], i=1..count); # Robert Israel, Jun 20 2017 MATHEMATICA Reap[Do[If[PrimeQ[n^4-Prime[n]], Sow[n]], {n, 2, 1200, 2}]][[2, 1]] PROG (MAGMA) [n: n in [1..1200]|IsPrime(n^4-NthPrime(n))]; (PARI) for(n=1, 999, isprime(n^4-prime(n))&print1(n", "))  \\ M. F. Hasler, Jun 02 2012 CROSSREFS Cf. A064712, A212881. Sequence in context: A028300 A068207 A288491 * A027161 A081096 A119692 Adjacent sequences:  A212880 A212881 A212882 * A212884 A212885 A212886 KEYWORD nonn AUTHOR Zak Seidov, May 29 2012 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 January 21 13:55 EST 2020. Contains 331113 sequences. (Running on oeis4.)