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”).

A141126
a(n+1)=a(n)-n^2 if positive and new, else a(n+1)=a(n)+n^2; a(0)=1.
2
1, 1, 2, 6, 15, 31, 56, 20, 69, 5, 86, 186, 65, 209, 40, 236, 11, 267, 556, 232, 593, 193, 634, 150, 679, 103, 728, 52, 781, 1565, 724, 1624, 663, 1687, 598, 1754, 529, 1825, 456, 1900, 379, 1979, 298, 2062, 213, 2149, 124, 2240, 4449, 2145, 4546, 2046, 4647
OFFSET
0,3
CROSSREFS
Cf. A063733.
Sequence in context: A355057 A236111 A230455 * A056520 A289961 A290068
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jun 05 2008
STATUS
approved