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

A138432
a(n) = ((n-th prime)^5-(n-th prime)^3)/2.
2
12, 108, 1500, 8232, 79860, 184548, 707472, 1234620, 3212088, 10243380, 14299680, 34646652, 57893640, 73464468, 114620592, 209023308, 357359460, 422184660, 674912172, 901935720, 1036341288, 1538281680, 1969234428, 2791677240
OFFSET
1,1
FORMULA
a(n) = A138406(n)/2. - R. J. Mathar, Oct 15 2017
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^5 - p^3)/2], {n, 1, 50}]; a
Table[(n^5-n^3)/2, {n, Prime[Range[30]]}] (* Harvey P. Dale, Jul 17 2015 *)
PROG
(PARI) forprime(p=2, 1e3, print1((p^5-p^3)/2", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A228013 A225779 A289291 * A011999 A128877 A085797
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved