login
a(n) = ((n-th prime)^5-(n-th prime)^4)/2.
2

%I #7 Oct 15 2017 10:18:19

%S 8,81,1250,7203,73205,171366,668168,1172889,3078251,9901934,13852815,

%T 33734898,56515220,71794821,112232663,205152506,351403469,415375230,

%U 664986993,889408835,1022336676,1519053159,1945791161,2760658604

%N a(n) = ((n-th prime)^5-(n-th prime)^4)/2.

%F a(n) = A138407(n)/2. - _R. J. Mathar_, Oct 15 2017

%t a = {}; Do[p = Prime[n]; AppendTo[a, (p^5 - p^4)/2], {n, 1, 50}]; a

%o (PARI) forprime(p=2,1e3,print1((p^5-p^4)/2", ")) \\ _Charles R Greathouse IV_, Jul 15 2011

%K nonn,easy

%O 1,1

%A _Artur Jasinski_, Mar 19 2008