|
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Numbers that are the sum of the first r nonsquares and also the sum of the first s squares for some r and s.
If it exists, a(6) > 5.4*10^12.
|
|
LINKS
|
|
|
EXAMPLE
|
1+4+9+16+25+36 = 2+3+5+6+7+8+10+11+12+13+14 = 91, so 91 is a term.
|
|
MATHEMATICA
|
a000330=Accumulate[Table[i^2, {i, 60}]];
a086849=Accumulate[Table[i+Floor[1/2+Sqrt[i]], {i, 370}]];
Intersection[a000330, a086849]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|