login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A355371
Intersection of A000330 and A086849.
0
5, 91, 506, 650, 11440
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.
If it exists, a(6) > 10^20. - Michael S. Branicky, Jul 09 2022
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
Sequence in context: A038636 A282052 A152299 * A242945 A243198 A091281
KEYWORD
nonn,more
AUTHOR
Ivan N. Ianakiev, Jun 30 2022
STATUS
approved