login
A138439
a(n) = ((n-th prime)^5-(n-th prime)^4)/2.
2
8, 81, 1250, 7203, 73205, 171366, 668168, 1172889, 3078251, 9901934, 13852815, 33734898, 56515220, 71794821, 112232663, 205152506, 351403469, 415375230, 664986993, 889408835, 1022336676, 1519053159, 1945791161, 2760658604
OFFSET
1,1
FORMULA
a(n) = A138407(n)/2. - R. J. Mathar, Oct 15 2017
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^5 - p^4)/2], {n, 1, 50}]; a
PROG
(PARI) forprime(p=2, 1e3, print1((p^5-p^4)/2", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A373004 A092366 A022519 * A193563 A026845 A305770
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved