login
A138448
a(n) = (prime(n)^6 - prime(n)^2)/15.
4
4, 48, 1040, 7840, 118096, 321776, 1609152, 3136368, 9869024, 39654832, 59166848, 171048336, 316673504, 421424080, 718614208, 1477623888, 2812035344, 3434691376, 6030558512, 8540018592, 10088948064, 16205829952, 21796024432
OFFSET
1,1
FORMULA
From Elmo R. Oliveira, Jan 19 2023: (Start)
a(n) = (A030516(n) - A001248(n))/15.
a(n) = (2 * A138441(n))/15.
a(n) = (A001248(n) * (A030514(n) - 1))/15. (End)
MAPLE
A138448:=n->(ithprime(n)^6-ithprime(n)^2)/15: seq(A138448(n), n=1..40); # Wesley Ivan Hurt, Apr 14 2017
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^2)/15, {n, 1, 50}]; a
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p^2)/15", ")) \\ Charles R Greathouse IV, Jun 16 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved