OFFSET
1,1
COMMENTS
Primes which are sum of two consecutive cubes plus 2.
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..5000
FORMULA
Primes of the form 2*n^3 + 3*n^2 + 3*n + 3.
EXAMPLE
a(2)=37: k^3+(k+1)^3+2= 2^3+3^3+2= 8+27+2= 37 which is prime.
a(3)=191: k^3+(k+1)^3+2= 4^3+5^3+2= 64+125+2= 191 which is prime.
MAPLE
KD:= proc() local a; a:= (k)^3+(k+1)^3+2; if isprime(a) then RETURN(a): fi; end: seq(KD(), k=1..500);
MATHEMATICA
Select[Table[(x^3+(x+1)^3+2), {x, 1000}], PrimeQ]
CROSSREFS
KEYWORD
nonn
AUTHOR
K. D. Bajpai, Sep 22 2013
STATUS
approved