login
A345576
Numbers that are the sum of seven fourth powers in ten or more ways.
7
31251, 44547, 45827, 45892, 45907, 47667, 47971, 48292, 49572, 49812, 50052, 51092, 52372, 53316, 53476, 54531, 54596, 54756, 54996, 57411, 58036, 58116, 58276, 58516, 58660, 58756, 59331, 59781, 59796, 59811, 59827, 59861, 59876, 59892, 60036, 60371, 60436
OFFSET
1,1
LINKS
EXAMPLE
44547 is a term because 44547 = 1^4 + 2^4 + 2^4 + 2^4 + 6^4 + 11^4 + 13^4 = 1^4 + 2^4 + 2^4 + 6^4 + 7^4 + 7^4 + 14^4 = 1^4 + 2^4 + 6^4 + 6^4 + 9^4 + 11^4 + 12^4 = 1^4 + 6^4 + 7^4 + 8^4 + 8^4 + 8^4 + 13^4 = 2^4 + 2^4 + 8^4 + 9^4 + 9^4 + 9^4 + 12^4 = 2^4 + 4^4 + 6^4 + 6^4 + 9^4 + 9^4 + 13^4 = 2^4 + 4^4 + 7^4 + 7^4 + 8^4 + 11^4 + 12^4 = 3^4 + 3^4 + 4^4 + 4^4 + 7^4 + 12^4 + 12^4 = 3^4 + 6^4 + 6^4 + 7^4 + 8^4 + 11^4 + 12^4 = 4^4 + 4^4 + 8^4 + 8^4 + 9^4 + 11^4 + 11^4.
PROG
(Python)
from itertools import combinations_with_replacement as cwr
from collections import defaultdict
keep = defaultdict(lambda: 0)
power_terms = [x**4 for x in range(1, 1000)]
for pos in cwr(power_terms, 7):
tot = sum(pos)
keep[tot] += 1
rets = sorted([k for k, v in keep.items() if v >= 10])
for x in range(len(rets)):
print(rets[x])
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved