OFFSET
1,1
COMMENTS
Commutator of (primes, cubes) at n.
All terms are even. For PrimePi(n^3) - PrimePi(n)^3 see A291538. - Jonathan Sondow, Sep 10 2017
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..300
FORMULA
EXAMPLE
For n = 2, a(n) = prime(n)^3 - prime(n^3) = 3^3 - 19 = 8.
MATHEMATICA
Table[Prime[n]^3 - Prime(n^3), {n, 40}] (* Alonso del Arte, Sep 14 2015 *)
PROG
(PARI) a(n) = prime(n)^3 - prime(n^3);
vector(35, n, a(n))
(Magma) [NthPrime(n)^3 - NthPrime(n^3): n in [1..40]]; // Vincenzo Librandi, Sep 15 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Altug Alkan, Sep 14 2015
STATUS
approved