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!)
A212881 Numbers k such that k^3 - prime(k) is prime. 6
2, 10, 38, 42, 44, 50, 66, 74, 80, 90, 160, 178, 186, 190, 220, 224, 228, 234, 238, 240, 242, 256, 260, 270, 272, 280, 298, 342, 366, 368, 376, 380, 396, 400, 430, 462, 474, 476, 486, 504, 518, 526, 590, 596, 598, 610, 628, 668, 670, 672, 696, 700, 702, 714 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
All terms are trivially even.
LINKS
MATHEMATICA
Reap[Do[If[PrimeQ[n^3-Prime[n]], Sow[n]], {n, 2, 1000, 2}]][[2, 1]]
Select[2*Range[400], PrimeQ[#^3-Prime[#]]&] (* Harvey P. Dale, Apr 28 2022 *)
PROG
(Magma) [n: n in [1..400]|IsPrime(n^3-NthPrime(n))];
CROSSREFS
Sequence in context: A124646 A124635 A005968 * A177173 A046241 A048499
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 14:02 EDT 2024. Contains 371735 sequences. (Running on oeis4.)