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

%I #7 Oct 15 2017 10:20:48

%S 15,180,3900,29400,442860,1206660,6034320,11761380,37008840,148705620,

%T 221875680,641431260,1187525640,1580340300,2694803280,5541089580,

%U 10545132540,12880092660,22614594420,32025069720,37833555240

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

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

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

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

%K nonn,easy

%O 1,1

%A _Artur Jasinski_, Mar 19 2008