OFFSET
1,1
COMMENTS
Obviously, a(n) is not a prime number if n > 2.
MATHEMATICA
Array[Prime[#]^3 - #^3 &, {32}] (* Michael De Vlieger, Sep 14 2015 *)
PROG
(PARI) a(n) = prime(n)^3 - n^3;
vector (30, n, a(n))
(Magma) [NthPrime(n)^3 - n^3: n in [1..40]]; // Vincenzo Librandi, Sep 15 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Altug Alkan, Sep 14 2015
STATUS
approved