A122208 Numbers n such that the sum of the first n^2 primes A109724(n) = A007504(n^2) is a prime.
1, 2, 8, 10, 22, 26, 28, 32, 36, 78, 88, 110, 150, 152, 154, 232, 252, 258, 264, 316, 320, 324, 368, 376, 426, 496, 516, 532, 608, 644, 666, 686, 764, 828, 832, 880, 932, 958, 1020, 1090, 1096, 1106, 1122, 1156, 1174, 1206, 1264, 1280, 1282, 1290, 1296, 1326
Offset: 1
Keywords
Links
- Ray Chandler, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
s = 0; t = {}; Do[s = s + Sum[Prime@k, {k, (n - 1)^2 + 1, n^2}]; If[PrimeQ@s, AppendTo[t, n]], {n, 1341}]; t (* Robert G. Wilson v *)
Formula
Extensions
More terms from Robert G. Wilson v, Sep 29 2006
Comments