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

A138454
a(n) = ((n-th prime)^6-(n-th prime)^4)/3.
3
16, 216, 5000, 38416, 585640, 1599416, 8018016, 15638520, 49252016, 198038680, 295526720, 854617416, 1582426160, 2105981416, 3591445216, 7385490216, 14056138760, 17168842840, 30146077016, 42691624080, 50435276016
OFFSET
1,1
LINKS
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^4)/3], {n, 1, 24}]; a
(#^6-#^4)/3&/@Prime[Range[30]] (* Harvey P. Dale, Apr 22 2019 *)
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p^4)/3", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A297098 A159739 A181247 * A235758 A086650 A137701
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 22 2008
STATUS
approved