OFFSET
0,17
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..73
PROG
(Python)
from itertools import count, islice
from collections import Counter
def A369629_gen(): # generator of terms
ccount = Counter({0:1})
yield 1
for i in count(1):
bcount = Counter()
for a in ccount:
bcount[a+(j:=i**4)] += ccount[a]
bcount[a-j] += ccount[a]
ccount = bcount
yield(ccount[0]+ccount[1])
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jan 28 2024
EXTENSIONS
a(46)-a(50) from Chai Wah Wu, Jan 29 2024
STATUS
approved