OFFSET
1,1
COMMENTS
Differs from A345086 at term 2 because 2562624 = 7^3 + 35^3 + 135^3 = 7^3 + 63^3 + 131^3 = 11^3 + 99^3 + 115^3 = 16^3 + 45^3 + 134^3 = 29^3 + 102^3 + 112^3 = 35^3 + 59^3 + 131^3 = 50^3 + 84^3 + 121^3 = 68^3 + 71^3 + 122^3.
LINKS
David Consiglio, Jr., Table of n, a(n) for n = 1..100
EXAMPLE
2016496 is a term because 2016496 = 5^3 + 71^3 + 117^3 = 9^3 + 65^3 + 119^3 = 18^3 + 20^3 + 125^3 = 46^3 + 96^3 + 99^3 = 53^3 + 59^3 + 117^3 = 65^3 + 89^3 + 99^3 = 82^3 + 84^3 + 93^3.
PROG
(Python)
from itertools import combinations_with_replacement as cwr
from collections import defaultdict
keep = defaultdict(lambda: 0)
power_terms = [x**3 for x in range(1, 1000)]
for pos in cwr(power_terms, 3):
tot = sum(pos)
keep[tot] += 1
rets = sorted([k for k, v in keep.items() if v == 7])
for x in range(len(rets)):
print(rets[x])
CROSSREFS
KEYWORD
nonn
AUTHOR
David Consiglio, Jr., Jun 07 2021
STATUS
approved