[go: up one dir, main page]

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

A138447
a(n) = ((n-th prime)^6-(n-th prime^2))/12.
2
5, 60, 1300, 9800, 147620, 402220, 2011440, 3920460, 12336280, 49568540, 73958560, 213810420, 395841880, 526780100, 898267760, 1847029860, 3515044180, 4293364220, 7538198140, 10675023240, 12611185080, 20257287440, 27245030540
OFFSET
1,1
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^2)/12, {n, 1, 50}]; a
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p^2)/12", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A349883 A010793 A180614 * A084939 A171205 A214380
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved