login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A345863
Numbers that are the sum of five fifth powers in five or more ways.
6
9006349824, 65799210368, 67629776576, 181085909632, 188189635424, 288203194368, 295677350451, 467139768468, 471359089024, 656243139157, 691381929281, 797466940832, 854533526901, 874953049024, 891862586132, 953769598750, 1038549256768
OFFSET
1,1
LINKS
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 >= 5])
for x in range(len(rets)):
print(rets[x])
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved