OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
FORMULA
MATHEMATICA
Table[p = Prime[n]; p^4 - p, {n, 50}]
#^4-#&/@Prime[Range[30]] (* Harvey P. Dale, Aug 14 2011 *)
PROG
(PARI) forprime(p=2, 1e3, print1(p^4-p", ")) \\ Charles R Greathouse IV, Jun 16 2011
(Magma) [NthPrime((n))^4 - NthPrime(n): n in [1..50] ]; // Vincenzo Librandi, Jun 17 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved