A138446 a(n) = ((n-th prime)^6-(n-th prime)^2)/10.
6, 72, 1560, 11760, 177144, 482664, 2413728, 4704552, 14803536, 59482248, 88750272, 256572504, 475010256, 632136120, 1077921312, 2216435832, 4218053016, 5152037064, 9045837768, 12810027888, 15133422096, 24308744928
Offset: 1
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^2)/10], {n, 1, 50}]; a (#^6-#^2)/10&/@Prime[Range[30]] (* Harvey P. Dale, Aug 15 2012 *)
-
PARI
forprime(p=2,1e3,print1((p^6-p^2)/10", ")) \\ Charles R Greathouse IV, Jul 15 2011