login
A344518
Numbers that are the sum of five positive fifth powers in four or more ways.
7
287618651, 1386406515, 1763135232, 2494769760, 2619898293, 3096064443, 3291315732, 3749564512, 4045994624, 5142310350, 5183605813, 5658934676, 5880926107, 7205217018, 7401155424, 7691215599, 8429499101, 8926086432, 9006349824, 9051501568, 9203796832
OFFSET
1,1
LINKS
EXAMPLE
287618651 is a term because
287618651 = 8^5 + 21^5 + 27^5 + 27^5 + 48^5
= 9^5 + 13^5 + 26^5 + 37^5 + 46^5
= 11^5 + 12^5 + 23^5 + 41^5 + 44^5
= 11^5 + 20^5 + 22^5 + 30^5 + 48^5.
[Corrected by Patrick De Geest, Dec 28 2024]
PROG
(Python)
from itertools import combinations_with_replacement as cwr
from collections import defaultdict
keep = defaultdict(lambda: 0)
power_terms = [x**5 for x in range(1, 500)]
for pos in cwr(power_terms, 5):
tot = sum(pos)
keep[tot] += 1
rets = sorted([k for k, v in keep.items() if v >= 4])
for x in range(len(rets)):
print(rets[x])
KEYWORD
nonn
AUTHOR
STATUS
approved