login
A138456
a(n) = ((n-th prime)^6-(n-th prime)^4)/6.
2
8, 108, 2500, 19208, 292820, 799708, 4009008, 7819260, 24626008, 99019340, 147763360, 427308708, 791213080, 1052990708, 1795722608, 3692745108, 7028069380, 8584421420, 15073038508, 21345812040, 25217638008, 40508084240
OFFSET
1,1
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^4)/6], {n, 1, 24}]; a
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p^4)/6", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A184267 A099699 A084915 * A267660 A273057 A095917
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 22 2008
STATUS
approved