A344944 Numbers that are the sum of five fourth powers in eight or more ways.
534130, 619090, 654754, 663155, 729219, 737459, 742770, 758354, 775714, 810034, 813459, 816579, 831250, 906034, 930499, 954930, 954979, 1009954, 1055619, 1083955, 1099459, 1100579, 1101859, 1103554, 1106019, 1157634, 1167794, 1179379, 1180003, 1186834
Offset: 1
Keywords
Examples
534130 is a term because 534130 = 1^4 + 3^4 + 16^4 + 22^4 + 22^4 = 2^4 + 2^4 + 4^4 + 7^4 + 27^4 = 2^4 + 3^4 + 6^4 + 6^4 + 27^4 = 2^4 + 6^4 + 9^4 + 21^4 + 24^4 = 4^4 + 16^4 + 17^4 + 18^4 + 23^4 = 6^4 + 8^4 + 11^4 + 22^4 + 23^4 = 7^4 + 8^4 + 16^4 + 19^4 + 24^4 = 13^4 + 14^4 + 14^4 + 21^4 + 22^4.
Links
- David Consiglio, Jr., Table of n, a(n) for n = 1..10000
Programs
-
Python
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, 5): 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])