OFFSET
1,2
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..74
EXAMPLE
a(8) = 11 subsets: {1}, {8}, {27}, {64}, {125}, {216}, {343}, {512}, {1, 216, 512}, {27, 64, 125} and {1, 27, 64, 125, 512}.
PROG
(Python)
from sympy import integer_nthroot
def is_cube(n): return integer_nthroot(n, 3)[1]
from functools import cache
@cache
def b(n, soc):
if n == 0:
if soc > 0 and is_cube(soc): return 1
return 0
return b(n-1, soc) + b(n-1, soc+n**3)
a = lambda n: b(n, 0)
print([a(n) for n in range(1, 30)]) # Michael S. Branicky, Nov 18 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Nov 18 2024
EXTENSIONS
a(25) and beyond from Michael S. Branicky, Nov 18 2024
STATUS
approved