login
A345864
Numbers that are the sum of five fifth powers in six or more ways.
3
288203194368, 2784485221024, 6022068333568, 9222502219776, 9670153077344, 10918228000032, 15441787364576
OFFSET
1,1
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, 1000)]
for pos in cwr(power_terms, 5):
tot = sum(pos)
keep[tot] += 1
rets = sorted([k for k, v in keep.items() if v >= 6])
for x in range(len(rets)):
print(rets[x])
CROSSREFS
KEYWORD
nonn,more
AUTHOR
STATUS
approved