A133547 a(n) = sum of squares of first n odd primes.
9, 34, 83, 204, 373, 662, 1023, 1552, 2393, 3354, 4723, 6404, 8253, 10462, 13271, 16752, 20473, 24962, 30003, 35332, 41573, 48462, 56383, 65792, 75993, 86602, 98051, 109932, 122701, 138830, 155991, 174760, 194081, 216282, 239083, 263732
Offset: 1
Examples
a(3)=83 because 3^2+5^2+7^2=83.
Programs
-
Mathematica
c = 2; a = {}; b = 0; Do[b = b + Prime[n]^c; AppendTo[a, b], {n, 2, 1000}]; a
Formula
a(n) = A024450(n+1)-4. - Jason Yuen, Sep 23 2024