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”).

A138460
a(n) = ((n-th prime)^6-(n-th prime)^5)/2.
3
16, 243, 6250, 50421, 805255, 2227758, 11358856, 22284891, 70799773, 287156086, 429437265, 1248191226, 2317124020, 3087177303, 5274935161, 10873082818, 20732804671, 25337889030, 44554128531, 63148027285, 74630577348
OFFSET
1,1
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^5)/2], {n, 1, 24}]; a
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p^5)/2", ")) \\ Charles R Greathouse IV, Jun 16 2011
CROSSREFS
Sequence in context: A008788 A360759 A219671 * A182148 A304170 A360353
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 22 2008
STATUS
approved