A345829
Numbers that are the sum of seven fourth powers in exactly seven ways.
Original entry on oeis.org
16691, 17347, 17971, 20706, 21956, 22547, 22612, 23156, 23587, 23827, 23892, 24436, 25107, 25427, 25716, 25971, 26051, 27812, 29092, 29187, 29332, 29427, 29442, 29636, 29701, 29716, 29956, 29971, 30036, 30132, 30612, 30981, 30996, 31011, 31316, 31331, 31347
Offset: 1
17347 is a term because 17347 = 1^4 + 1^4 + 6^4 + 6^4 + 8^4 + 8^4 + 9^4 = 1^4 + 2^4 + 2^4 + 2^4 + 4^4 + 7^4 + 11^4 = 1^4 + 2^4 + 2^4 + 3^4 + 6^4 + 6^4 + 11^4 = 1^4 + 4^4 + 7^4 + 7^4 + 8^4 + 8^4 + 8^4 = 2^4 + 2^4 + 2^4 + 3^4 + 8^4 + 9^4 + 9^4 = 2^4 + 4^4 + 4^4 + 6^4 + 7^4 + 9^4 + 9^4 = 3^4 + 4^4 + 6^4 + 6^4 + 6^4 + 9^4 + 9^4.
-
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 == 7])
for x in range(len(rets)):
print(rets[x])
A345629
Numbers that are the sum of seven fifth powers in seven or more ways.
Original entry on oeis.org
28608832, 35663099, 36090526, 36620574, 46998599, 51095638, 52541851, 54233651, 54827543, 54886349, 61263643, 61634374, 63514593, 64810976, 65198607, 66708676, 67887843, 70979107, 72970305, 74002457, 74115801, 74132607, 74487093, 75044651, 75378359
Offset: 1
35663099 is a term because 35663099 = 1^5 + 9^5 + 16^5 + 17^5 + 24^5 + 24^5 + 28^5 = 2^5 + 3^5 + 17^5 + 23^5 + 24^5 + 24^5 + 26^5 = 2^5 + 10^5 + 15^5 + 17^5 + 23^5 + 23^5 + 29^5 = 4^5 + 8^5 + 13^5 + 19^5 + 21^5 + 27^5 + 27^5 = 4^5 + 11^5 + 13^5 + 19^5 + 20^5 + 22^5 + 30^5 = 5^5 + 6^5 + 19^5 + 19^5 + 20^5 + 20^5 + 30^5 = 7^5 + 9^5 + 12^5 + 18^5 + 18^5 + 27^5 + 28^5.
-
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, 7):
tot = sum(pos)
keep[tot] += 1
rets = sorted([k for k, v in keep.items() if v >= 7])
for x in range(len(rets)):
print(rets[x])
A346283
Numbers that are the sum of seven fifth powers in exactly six ways.
Original entry on oeis.org
13562501, 14583968, 21555313, 22057487, 22066065, 23089782, 23345024, 24217918, 24401574, 24855016, 24952718, 24993517, 25052501, 25385064, 29558618, 30653536, 31613713, 32559143, 33005785, 33533765, 33635825, 33828631, 34267551, 34268332, 35431351, 35736040
Offset: 1
13562501 is a term because 13562501 = 1^5 + 1^5 + 1^5 + 9^5 + 14^5 + 20^5 + 25^5 = 1^5 + 15^5 + 15^5 + 15^5 + 15^5 + 15^5 + 25^5 = 6^5 + 7^5 + 11^5 + 16^5 + 18^5 + 19^5 + 24^5 = 7^5 + 7^5 + 11^5 + 13^5 + 19^5 + 21^5 + 23^5 = 2^5 + 6^5 + 14^5 + 18^5 + 18^5 + 21^5 + 22^5 = 1^5 + 5^5 + 15^5 + 20^5 + 20^5 + 20^5 + 20^5.
-
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, 7):
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])
A346285
Numbers that are the sum of seven fifth powers in exactly eight ways.
Original entry on oeis.org
36620574, 80552143, 81401376, 82078424, 92347417, 93653176, 94486699, 94626949, 98873875, 105674625, 121050874, 125959393, 129228307, 144209018, 145340799, 147245218, 147898763, 151727082, 151923168, 152361276, 152664876, 153877208, 155107349, 155270357
Offset: 1
36620574 is a term because 36620574 = 4^5 + 9^5 + 14^5 + 17^5 + 18^5 + 21^5 + 31^5 = 1^5 + 12^5 + 13^5 + 14^5 + 20^5 + 24^5 + 30^5 = 8^5 + 9^5 + 12^5 + 13^5 + 16^5 + 27^5 + 29^5 = 5^5 + 7^5 + 7^5 + 20^5 + 23^5 + 23^5 + 29^5 = 17^5 + 18^5 + 20^5 + 20^5 + 20^5 + 20^5 + 29^5 = 2^5 + 7^5 + 14^5 + 14^5 + 23^5 + 26^5 + 28^5 = 4^5 + 8^5 + 8^5 + 17^5 + 23^5 + 27^5 + 27^5 = 2^5 + 3^5 + 14^5 + 18^5 + 24^5 + 26^5 + 27^5.
-
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, 7):
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])
A346332
Numbers that are the sum of eight fifth powers in exactly seven ways.
Original entry on oeis.org
4104553, 4915506, 6011150, 6027989, 6323394, 6563733, 6622231, 6776363, 6785394, 7982834, 8181481, 8288806, 8658144, 8710484, 8773477, 8932244, 8996669, 9252219, 9253706, 9311478, 9904983, 9976120, 10045233, 10053008, 10193511, 10359767, 10514944, 10541225
Offset: 1
4104553 is a term because 4104553 = 1^5 + 1^5 + 2^5 + 3^5 + 3^5 + 5^5 + 7^5 + 21^5 = 3^5 + 3^5 + 4^5 + 6^5 + 8^5 + 14^5 + 16^5 + 19^5 = 3^5 + 3^5 + 3^5 + 7^5 + 9^5 + 12^5 + 18^5 + 18^5 = 3^5 + 4^5 + 4^5 + 4^5 + 11^5 + 11^5 + 18^5 + 18^5 = 1^5 + 1^5 + 4^5 + 7^5 + 10^5 + 16^5 + 16^5 + 18^5 = 7^5 + 11^5 + 11^5 + 13^5 + 14^5 + 15^5 + 16^5 + 16^5 = 6^5 + 12^5 + 12^5 + 13^5 + 13^5 + 15^5 + 16^5 + 16^5.
-
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, 8):
tot = sum(pos)
keep[tot] += 1
rets = sorted([k for k, v in keep.items() if v == 7])
for x in range(len(rets)):
print(rets[x])
A346362
Numbers that are the sum of six fifth powers in exactly seven ways.
Original entry on oeis.org
1184966816, 1700336000, 1717860100, 1972000800, 2229475325, 2396275200, 2548597632, 2625460992, 2886251808, 3217068800, 3697267200, 3729261536, 3765398725, 4046532448, 4165116967, 4246566632, 4286704224, 4489548050, 4539955200, 4623694108, 4710031469
Offset: 1
1184966816 is a term because 1184966816 = 15^5 + 24^5 + 27^5 + 38^5 + 39^5 + 63^5 = 2^5 + 28^5 + 36^5 + 36^5 + 42^5 + 62^5 = 4^5 + 24^5 + 38^5 + 38^5 + 40^5 + 62^5 = 21^5 + 32^5 + 37^5 + 41^5 + 45^5 + 60^5 = 8^5 + 14^5 + 34^5 + 40^5 + 52^5 + 58^5 = 11^5 + 17^5 + 22^5 + 49^5 + 51^5 + 56^5 = 11^5 + 16^5 + 22^5 + 52^5 + 52^5 + 53^5.
-
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, 6):
tot = sum(pos)
keep[tot] += 1
rets = sorted([k for k, v in keep.items() if v == 7])
for x in range(len(rets)):
print(rets[x])
Showing 1-6 of 6 results.
Comments