OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A213547(prime(n)-1). - Robert Israel, Sep 11 2014
MAPLE
seq((ithprime(n)^6-ithprime(n)^2)/60, n=1..100); # Robert Israel, Sep 11 2014
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^2)/60, {n, 1, 50}]; a
(#^6-#^2)/60&/@Prime[Range[30]] (* Harvey P. Dale, Sep 11 2014 *)
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p^2)/60", ")) \\ Charles R Greathouse IV, Jul 15 2011
(Magma) [( NthPrime(n)^6-NthPrime(n)^2 )/60: n in [1..30]]; // Vincenzo Librandi, Sep 11 2014
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved