login
A128955
Numbers n such that n+(n+1)^3 is prime.
0
2, 3, 6, 9, 14, 15, 17, 20, 24, 26, 32, 35, 38, 42, 45, 50, 51, 54, 62, 72, 77, 80, 86, 92, 93, 95, 99, 102, 104, 108, 111, 114, 116, 119, 123, 126, 128, 134, 138, 144, 149, 150, 164, 165, 170, 177, 188, 191, 197, 198, 201, 203, 215, 222, 227, 240, 242, 245, 257, 258
OFFSET
1,1
EXAMPLE
2+3^3=29, 3+4^3=67, 6+7^3=349, 9+10^3=1009 all primes.
MATHEMATICA
Select[Range[300], PrimeQ[#+(#+1)^3]&] (* Harvey P. Dale, Mar 14 2013 *)
PROG
(PARI) is(n)=isprime(n+(n+1)^3) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A360362 A280422 A309897 * A215523 A306247 A348865
KEYWORD
nonn,easy
AUTHOR
Zak Seidov, Apr 28 2007
STATUS
approved