OFFSET
2,2
LINKS
Feihu Liu and Guoce Xin, On Frobenius Formulas of Power Sequences, arXiv:2210.02722 [math.CO], 2022. See Table 1 p. 26.
PROG
(Python)
def A357995(n):
a, b = set([0]), set(range(1, n**2))
for m in [n+k**2 for k in range(n+1)]:
d=m
while d < n**2:
c2 = set([x for x in b if x-d in a])
a |= c2 ; b -= c2 ; d*=2
return max(b) # Bert Dobbelaere, Oct 30 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Oct 23 2022
EXTENSIONS
More terms from Bert Dobbelaere, Oct 30 2022
STATUS
approved