A345852
Numbers that are the sum of nine fourth powers in exactly ten ways.
Original entry on oeis.org
9299, 12708, 12948, 13269, 13349, 13524, 13589, 13764, 13829, 13893, 14133, 14228, 14468, 14564, 14869, 14934, 14964, 15014, 15094, 15109, 15174, 15189, 15333, 15428, 15429, 15524, 15588, 15604, 15653, 16214, 16229, 16469, 16564, 16644, 16773, 16883, 16948
Offset: 1
12708 is a term because 12708 = 1^4 + 1^4 + 1^4 + 2^4 + 2^4 + 2^4 + 4^4 + 7^4 + 10^4 = 1^4 + 1^4 + 1^4 + 2^4 + 2^4 + 3^4 + 6^4 + 6^4 + 10^4 = 1^4 + 1^4 + 1^4 + 5^4 + 6^4 + 6^4 + 6^4 + 8^4 + 8^4 = 1^4 + 2^4 + 2^4 + 2^4 + 3^4 + 5^4 + 6^4 + 8^4 + 9^4 = 1^4 + 2^4 + 4^4 + 4^4 + 5^4 + 6^4 + 6^4 + 7^4 + 9^4 = 1^4 + 3^4 + 4^4 + 5^4 + 6^4 + 6^4 + 6^4 + 6^4 + 9^4 = 2^4 + 2^4 + 2^4 + 2^4 + 3^4 + 3^4 + 3^4 + 7^4 + 10^4 = 2^4 + 2^4 + 3^4 + 3^4 + 5^4 + 6^4 + 7^4 + 8^4 + 8^4 = 2^4 + 4^4 + 4^4 + 4^4 + 5^4 + 7^4 + 7^4 + 7^4 + 8^4 = 3^4 + 4^4 + 4^4 + 5^4 + 6^4 + 6^4 + 7^4 + 7^4 + 8^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, 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])
A346344
Numbers that are the sum of nine fifth powers in exactly nine ways.
Original entry on oeis.org
1969221, 2596936, 3353186, 3378178, 3923426, 3981447, 4094027, 4096729, 4112329, 4114188, 4129465, 4137209, 4147736, 4170112, 4172994, 4254304, 4303773, 4410482, 4475846, 4477936, 4483379, 4485480, 4501441, 4543232, 4652011, 4691855, 4724015, 4733970, 4750241
Offset: 1
1969221 is a term because 1969221 = 3^5 + 5^5 + 6^5 + 7^5 + 8^5 + 11^5 + 11^5 + 14^5 + 16^5 = 3^5 + 5^5 + 6^5 + 6^5 + 8^5 + 12^5 + 12^5 + 13^5 + 16^5 = 3^5 + 4^5 + 7^5 + 7^5 + 7^5 + 12^5 + 12^5 + 13^5 + 16^5 = 1^5 + 5^5 + 8^5 + 8^5 + 8^5 + 8^5 + 14^5 + 14^5 + 15^5 = 3^5 + 3^5 + 3^5 + 10^5 + 10^5 + 10^5 + 13^5 + 14^5 + 15^5 = 2^5 + 2^5 + 4^5 + 10^5 + 11^5 + 11^5 + 12^5 + 14^5 + 15^5 = 1^5 + 4^5 + 5^5 + 8^5 + 9^5 + 13^5 + 13^5 + 13^5 + 15^5 = 1^5 + 2^5 + 7^5 + 7^5 + 11^5 + 11^5 + 14^5 + 14^5 + 14^5 = 1^5 + 2^5 + 6^5 + 7^5 + 12^5 + 12^5 + 13^5 + 14^5 + 14^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 == 9])
for x in range(len(rets)):
print(rets[x])
A345627
Numbers that are the sum of nine fifth powers in ten or more ways.
Original entry on oeis.org
4157156, 4492410, 4510461, 4915538, 4948274, 5005474, 5015506, 5179747, 5219655, 5252477, 5739988, 5756794, 6323426, 6326519, 6382443, 6423394, 6654999, 6705284, 6793170, 6861218, 7101038, 7147645, 7147656, 7148679, 7266240, 7280391, 7283268, 7314187, 7413493
Offset: 1
4492410 is a term because 4492410 = 1^5 + 1^5 + 2^5 + 3^5 + 5^5 + 7^5 + 7^5 + 13^5 + 21^5 = 1^5 + 2^5 + 6^5 + 10^5 + 11^5 + 11^5 + 14^5 + 16^5 + 19^5 = 1^5 + 6^5 + 7^5 + 8^5 + 9^5 + 9^5 + 14^5 + 18^5 + 18^5 = 2^5 + 5^5 + 6^5 + 6^5 + 7^5 + 15^5 + 15^5 + 16^5 + 18^5 = 2^5 + 5^5 + 6^5 + 10^5 + 10^5 + 11^5 + 11^5 + 15^5 + 20^5 = 3^5 + 3^5 + 7^5 + 7^5 + 9^5 + 12^5 + 13^5 + 18^5 + 18^5 = 3^5 + 3^5 + 8^5 + 8^5 + 8^5 + 12^5 + 12^5 + 17^5 + 19^5 = 3^5 + 4^5 + 6^5 + 7^5 + 8^5 + 13^5 + 14^5 + 16^5 + 19^5 = 4^5 + 4^5 + 4^5 + 7^5 + 11^5 + 11^5 + 13^5 + 18^5 + 18^5 = 4^5 + 4^5 + 6^5 + 8^5 + 8^5 + 9^5 + 16^5 + 17^5 + 18^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])
A346335
Numbers that are the sum of eight fifth powers in exactly ten ways.
Original entry on oeis.org
15539667, 22932525, 24393600, 24650406, 24952961, 24953742, 25142513, 26001294, 27988486, 28609075, 29309819, 31794336, 32223105, 32527286, 32610600, 32807777, 32890541, 32998317, 33015125, 33187858, 33361339, 33550572, 33659175, 33782597, 34029369, 34073650
Offset: 1
15539667 is a term because 15539667 = 1^5 + 7^5 + 8^5 + 8^5 + 8^5 + 14^5 + 14^5 + 27^5 = 1^5 + 4^5 + 7^5 + 9^5 + 13^5 + 13^5 + 13^5 + 27^5 = 1^5 + 1^5 + 7^5 + 7^5 + 10^5 + 16^5 + 19^5 + 26^5 = 1^5 + 1^5 + 2^5 + 10^5 + 12^5 + 17^5 + 18^5 + 26^5 = 2^5 + 2^5 + 3^5 + 8^5 + 9^5 + 16^5 + 23^5 + 24^5 = 4^5 + 11^5 + 13^5 + 13^5 + 15^5 + 15^5 + 22^5 + 24^5 = 5^5 + 6^5 + 13^5 + 15^5 + 15^5 + 19^5 + 20^5 + 24^5 = 3^5 + 10^5 + 12^5 + 12^5 + 18^5 + 18^5 + 20^5 + 24^5 = 6^5 + 9^5 + 11^5 + 11^5 + 15^5 + 21^5 + 22^5 + 22^5 = 3^5 + 5^5 + 10^5 + 19^5 + 19^5 + 20^5 + 20^5 + 21^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 == 10])
for x in range(len(rets)):
print(rets[x])
A346355
Numbers that are the sum of ten fifth powers in exactly ten ways.
Original entry on oeis.org
1431641, 1439416, 1464377, 1464408, 1505660, 1531640, 1564165, 1782171, 1969253, 1976997, 1986028, 2000966, 2028270, 2042460, 2052415, 2058421, 2059202, 2060522, 2076393, 2130272, 2201247, 2208681, 2209704, 2248941, 2250329, 2251042, 2282073, 2307747, 2315379
Offset: 1
1431641 is a term because 1431641 = 2^5 + 3^5 + 5^5 + 5^5 + 5^5 + 6^5 + 7^5 + 10^5 + 12^5 + 16^5 = 1^5 + 1^5 + 4^5 + 6^5 + 7^5 + 7^5 + 8^5 + 9^5 + 12^5 + 16^5 = 1^5 + 3^5 + 3^5 + 5^5 + 6^5 + 7^5 + 8^5 + 11^5 + 11^5 + 16^5 = 1^5 + 2^5 + 4^5 + 4^5 + 6^5 + 8^5 + 8^5 + 9^5 + 14^5 + 15^5 = 1^5 + 1^5 + 3^5 + 5^5 + 8^5 + 8^5 + 8^5 + 8^5 + 14^5 + 15^5 = 2^5 + 3^5 + 3^5 + 4^5 + 4^5 + 7^5 + 8^5 + 12^5 + 13^5 + 15^5 = 1^5 + 3^5 + 3^5 + 3^5 + 3^5 + 10^5 + 10^5 + 10^5 + 13^5 + 15^5 = 1^5 + 2^5 + 2^5 + 3^5 + 4^5 + 10^5 + 11^5 + 11^5 + 12^5 + 15^5 = 1^5 + 1^5 + 2^5 + 3^5 + 7^5 + 7^5 + 11^5 + 11^5 + 14^5 + 14^5 = 1^5 + 1^5 + 2^5 + 3^5 + 6^5 + 7^5 + 12^5 + 12^5 + 13^5 + 14^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-5 of 5 results.
Comments