login
A138446
a(n) = ((n-th prime)^6-(n-th prime^2))/10.
3
6, 72, 1560, 11760, 177144, 482664, 2413728, 4704552, 14803536, 59482248, 88750272, 256572504, 475010256, 632136120, 1077921312, 2216435832, 4218053016, 5152037064, 9045837768, 12810027888, 15133422096, 24308744928
OFFSET
1,1
LINKS
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 *)
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p^2)/10", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A010796 A038095 A012242 * A099029 A120331 A009523
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved