login
A100555
Smallest square that is equal to the sum of n not-necessarily-distinct primes plus 1.
4
1, 4, 9, 9, 9, 16, 16, 16, 25, 25, 25, 25, 25, 36, 36, 36, 36, 36, 49, 49, 49, 49, 49, 49, 49, 64, 64, 64, 64, 64, 64, 64, 81, 81, 81, 81, 81, 81, 81, 81, 81, 100, 100, 100, 100, 100, 100, 100, 100, 100, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 144, 144
OFFSET
0,2
EXAMPLE
a(1)=4 because 2^2=1+3.
a(2)=9 because 3^2=1+3+5.
a(3)=9 because 3^2=1+2+3+3.
a(4)=9 because 3^2=1+2+2+2+2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Dec 31 2004
EXTENSIONS
Corrected and extended by Ray Chandler, Jan 10 2005
STATUS
approved