login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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