A109724 Sum of the first n^2 primes.
0, 2, 17, 100, 381, 1060, 2427, 4888, 8893, 15116, 24133, 36888, 54169, 77136, 106733, 144526, 191755, 249748, 320705, 406048, 507825, 627294, 768373, 931686, 1119887, 1336090, 1583293, 1864190, 2180741, 2536646, 2935471, 3380980
Offset: 0
Links
- Ray Chandler, Table of n, a(n) for n = 0..10000 (first 500 terms from Vincenzo Librandi) [It was suggested that the initial terms of this b-file were wrong, but in fact they are correct. - _N. J. A. Sloane_, Jan 19 2019]
Programs
-
Mathematica
f[n_] := Sum[Prime[k], {k, n}]; Table[f[n^2], {n, 0, 32}]
-
PARI
a(n)=vecsum(primes(n^2)) \\ Charles R Greathouse IV, Sep 15 2015
Formula
a(n) ~ n^4 log n. - Charles R Greathouse IV, Sep 15 2015 (Corrected by N. J. A. Sloane, Jan 19 2019)
Extensions
Edited and extended by Ray Chandler, Aug 11 2005
Comments