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



(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A212881 Numbers n such that n^3 - prime(n) is prime. 5


%S 2,10,38,42,44,50,66,74,80,90,160,178,186,190,220,224,228,234,238,240,

%T 242,256,260,270,272,280,298,342,366,368,376,380,396,400,430,462,474,

%U 476,486,504,518,526,590,596,598,610,628,668,670,672,696,700,702,714

%N Numbers n such that n^3 - prime(n) is prime.

%C All terms are trivially even.

%t Reap[Do[If[PrimeQ[n^3-Prime[n]],Sow[n]],{n,2,1000,2}]][[2,1]]

%o (MAGMA) [n: n in [1..400]|IsPrime(n^3-NthPrime(n))];

%Y Cf. A064712, A212883.

%K nonn

%O 1,1

%A _Zak Seidov_, May 29 2012

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 28 13:23 EDT 2021. Contains 348329 sequences. (Running on oeis4.)