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

A138443
a(n) = ((n-th prime)^6-(n-th prime^2))/4.
2
15, 180, 3900, 29400, 442860, 1206660, 6034320, 11761380, 37008840, 148705620, 221875680, 641431260, 1187525640, 1580340300, 2694803280, 5541089580, 10545132540, 12880092660, 22614594420, 32025069720, 37833555240
OFFSET
1,1
FORMULA
a(n) = A138409(n)/4. - R. J. Mathar, Oct 15 2017
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^2)/4], {n, 1, 50}]; a
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p^2)/4", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A055084 A005461 A373759 * A235455 A016158 A335509
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved