OFFSET
1,1
MATHEMATICA
Table[Prime[n]^(2*n) - Prime[n]^(n - 1), {n, 12}]
PROG
(Magma) [NthPrime(n)^(2*n)-NthPrime(n)^(n-1) : n in [1..12]];
(PARI) a(n) = prime(n)^(2*n) - prime(n)^(n-1); \\ Altug Alkan, Apr 07 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Apr 07 2016
STATUS
approved