A345862
Numbers that are the sum of ten fourth powers in exactly ten ways.
Original entry on oeis.org
6885, 7990, 8035, 8165, 8275, 8340, 8515, 8565, 8580, 9140, 9235, 9285, 9445, 9495, 9510, 9540, 9620, 9670, 9795, 9830, 9860, 9924, 9925, 9990, 10005, 10164, 10294, 10340, 10374, 10404, 10420, 10515, 10534, 10884, 10950, 10980, 11075, 11125, 11190, 11220
Offset: 1
7990 is a term because 7990 = 1^4 + 1^4 + 1^4 + 1^4 + 1^4 + 1^4 + 6^4 + 6^4 + 6^4 + 8^4 = 1^4 + 1^4 + 1^4 + 1^4 + 2^4 + 2^4 + 2^4 + 3^4 + 6^4 + 9^4 = 1^4 + 1^4 + 1^4 + 2^4 + 2^4 + 3^4 + 3^4 + 6^4 + 7^4 + 8^4 = 1^4 + 1^4 + 1^4 + 2^4 + 4^4 + 4^4 + 4^4 + 7^4 + 7^4 + 7^4 = 1^4 + 1^4 + 1^4 + 3^4 + 4^4 + 4^4 + 6^4 + 6^4 + 7^4 + 7^4 = 1^4 + 4^4 + 4^4 + 4^4 + 5^4 + 5^4 + 5^4 + 5^4 + 5^4 + 8^4 = 2^4 + 2^4 + 3^4 + 3^4 + 3^4 + 4^4 + 4^4 + 7^4 + 7^4 + 7^4 = 2^4 + 3^4 + 3^4 + 3^4 + 3^4 + 4^4 + 6^4 + 6^4 + 7^4 + 7^4 = 3^4 + 3^4 + 3^4 + 3^4 + 3^4 + 4^4 + 4^4 + 4^4 + 4^4 + 9^4 = 3^4 + 3^4 + 3^4 + 3^4 + 3^4 + 6^4 + 6^4 + 6^4 + 6^4 + 7^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, 10):
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])
A346345
Numbers that are the sum of nine fifth powers in exactly ten ways.
Original entry on oeis.org
4157156, 4492410, 4510461, 4915538, 5005474, 5015506, 5179747, 5219655, 5756794, 6323426, 6326519, 6382443, 6423394, 6705284, 6793170, 6861218, 7101038, 7147645, 7147656, 7148679, 7266240, 7280391, 7283268, 7314187, 7413493, 7422352, 7531076, 7651645, 7693425
Offset: 1
4157156 is a term because 4157156 = 1^5 + 2^5 + 4^5 + 4^5 + 4^5 + 5^5 + 6^5 + 9^5 + 21^5 = 1^5 + 1^5 + 3^5 + 4^5 + 5^5 + 5^5 + 8^5 + 8^5 + 21^5 = 1^5 + 4^5 + 4^5 + 8^5 + 10^5 + 12^5 + 12^5 + 16^5 + 19^5 = 1^5 + 4^5 + 4^5 + 8^5 + 8^5 + 14^5 + 14^5 + 14^5 + 19^5 = 5^5 + 5^5 + 5^5 + 5^5 + 7^5 + 9^5 + 15^5 + 17^5 + 18^5 = 3^5 + 3^5 + 5^5 + 6^5 + 9^5 + 10^5 + 16^5 + 16^5 + 18^5 = 1^5 + 1^5 + 5^5 + 5^5 + 13^5 + 13^5 + 15^5 + 15^5 + 18^5 = 2^5 + 3^5 + 4^5 + 4^5 + 10^5 + 14^5 + 16^5 + 16^5 + 17^5 = 11^5 + 11^5 + 12^5 + 12^5 + 12^5 + 12^5 + 13^5 + 16^5 + 17^5 = 2^5 + 2^5 + 2^5 + 5^5 + 12^5 + 15^5 + 16^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, 9):
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])
A346354
Numbers that are the sum of ten fifth powers in exactly nine ways.
Original entry on oeis.org
1192180, 1226654, 1242437, 1431399, 1431430, 1431672, 1431883, 1432453, 1432664, 1434765, 1439174, 1441695, 1442718, 1447602, 1448447, 1455346, 1455377, 1464166, 1474431, 1474462, 1475485, 1491978, 1497619, 1531429, 1539173, 1614736, 1671199, 1671410, 1672937
Offset: 1
1192180 is a term because 1192180 = 5^5 + 5^5 + 5^5 + 5^5 + 6^5 + 6^5 + 6^5 + 6^5 + 10^5 + 16^5 = 2^5 + 5^5 + 5^5 + 5^5 + 5^5 + 8^5 + 8^5 + 8^5 + 8^5 + 16^5 = 3^5 + 4^5 + 4^5 + 5^5 + 6^5 + 6^5 + 6^5 + 8^5 + 13^5 + 15^5 = 3^5 + 4^5 + 4^5 + 4^5 + 6^5 + 7^5 + 7^5 + 7^5 + 13^5 + 15^5 = 2^5 + 2^5 + 2^5 + 3^5 + 8^5 + 8^5 + 9^5 + 9^5 + 12^5 + 15^5 = 1^5 + 1^5 + 5^5 + 6^5 + 6^5 + 6^5 + 6^5 + 12^5 + 13^5 + 14^5 = 1^5 + 2^5 + 3^5 + 3^5 + 3^5 + 10^5 + 10^5 + 12^5 + 13^5 + 13^5 = 1^5 + 2^5 + 2^5 + 2^5 + 4^5 + 11^5 + 11^5 + 12^5 + 12^5 + 13^5 = 6^5 + 9^5 + 9^5 + 10^5 + 11^5 + 11^5 + 11^5 + 11^5 + 11^5 + 11^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, 10):
tot = sum(pos)
keep[tot] += 1
rets = sorted([k for k, v in keep.items() if v == 9])
for x in range(len(rets)):
print(rets[x])
A345642
Numbers that are the sum of ten fifth powers in ten or more ways.
Original entry on oeis.org
1431641, 1439416, 1464377, 1464408, 1505660, 1531398, 1531640, 1564165, 1697929, 1703935, 1782171, 1969222, 1969253, 1969464, 1976997, 1985183, 1986028, 2000966, 2001989, 2028270, 2042460, 2052415, 2058421, 2059202, 2060522, 2069221, 2076393, 2130272, 2182162
Offset: 1
1439416 is a term because 1439416 = 1^5 + 1^5 + 2^5 + 7^5 + 8^5 + 8^5 + 10^5 + 12^5 + 12^5 + 15^5 = 1^5 + 2^5 + 3^5 + 6^5 + 6^5 + 7^5 + 12^5 + 12^5 + 13^5 + 14^5 = 1^5 + 2^5 + 3^5 + 6^5 + 7^5 + 7^5 + 11^5 + 11^5 + 14^5 + 14^5 = 1^5 + 3^5 + 5^5 + 6^5 + 8^5 + 8^5 + 8^5 + 8^5 + 14^5 + 15^5 = 1^5 + 4^5 + 6^5 + 6^5 + 7^5 + 7^5 + 8^5 + 9^5 + 12^5 + 16^5 = 2^5 + 2^5 + 3^5 + 4^5 + 6^5 + 10^5 + 11^5 + 11^5 + 12^5 + 15^5 = 2^5 + 4^5 + 4^5 + 6^5 + 6^5 + 8^5 + 8^5 + 9^5 + 14^5 + 15^5 = 3^5 + 3^5 + 3^5 + 3^5 + 6^5 + 10^5 + 10^5 + 10^5 + 13^5 + 15^5 = 3^5 + 3^5 + 4^5 + 7^5 + 7^5 + 7^5 + 7^5 + 11^5 + 11^5 + 16^5 = 3^5 + 3^5 + 5^5 + 6^5 + 6^5 + 7^5 + 8^5 + 11^5 + 11^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, 10):
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])
Showing 1-4 of 4 results.
Comments