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”).

A049441
Numbers n such that n^3 + 3 is prime.
8
0, 2, 4, 16, 22, 26, 32, 50, 52, 62, 64, 74, 76, 86, 94, 100, 104, 106, 124, 140, 142, 164, 166, 176, 182, 184, 190, 202, 212, 224, 236, 280, 284, 286, 290, 302, 370, 374, 394, 410, 430, 434, 454, 466, 470, 472, 496, 500, 502, 542, 584, 602, 604, 610, 614, 616
OFFSET
1,2
EXAMPLE
4 is in the sequence since 4^3 + 3 = 67 is prime.
MATHEMATICA
Select[Range[0, 700], PrimeQ[#^3+3]&] (* Harvey P. Dale, Jan 22 2020 *)
PROG
(Magma) [n: n in [0..1000]| IsPrime(n^3+3)] // Vincenzo Librandi, Nov 16 2010
(PARI) is(n)=isprime(n^3+3) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Sequence in context: A242205 A076434 A192150 * A253143 A193868 A256788
KEYWORD
easy,nonn
AUTHOR
Paul Jobling (paul.jobling(AT)whitecross.com)
EXTENSIONS
More terms from Vincenzo Librandi, Mar 31 2010
STATUS
approved