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

A138457
a(n) = ((n-th prime)^6-(n-th prime)^4)/8.
2
6, 81, 1875, 14406, 219615, 599781, 3006756, 5864445, 18469506, 74264505, 110822520, 320481531, 593409810, 789743031, 1346791956, 2769558831, 5271052035, 6438316065, 11304778881, 16009359030, 18913228506, 30381063180
OFFSET
1,1
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^4)/8], {n, 1, 24}]; a
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p^4)/8", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A349651 A193265 A317277 * A252821 A371765 A204264
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 22 2008
STATUS
approved