A345087 Numbers that are the sum of three third powers in eight or more ways.
2562624, 5618250, 6525000, 6755328, 7374375, 12742920, 13581352, 14027112, 14288373, 14926248, 16819704, 18443160, 20168784, 20500992, 22783032, 23113728, 25305048, 26936064, 27131840, 29515968, 30205440, 32835375, 34012224, 38269440, 39317832, 39339000
Offset: 1
Keywords
Examples
2562624 is a term 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
Programs
-
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 >= 8]) for x in range(len(rets)): print(rets[x])