cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A345627 Numbers that are the sum of nine fifth powers in ten or more ways.

This page as a plain text file.
%I A345627 #6 Jul 31 2021 16:09:53
%S A345627 4157156,4492410,4510461,4915538,4948274,5005474,5015506,5179747,
%T A345627 5219655,5252477,5739988,5756794,6323426,6326519,6382443,6423394,
%U A345627 6654999,6705284,6793170,6861218,7101038,7147645,7147656,7148679,7266240,7280391,7283268,7314187,7413493
%N A345627 Numbers that are the sum of nine fifth powers in ten or more ways.
%H A345627 Sean A. Irvine, <a href="/A345627/b345627.txt">Table of n, a(n) for n = 1..10000</a>
%e A345627 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.
%o A345627 (Python)
%o A345627 from itertools import combinations_with_replacement as cwr
%o A345627 from collections import defaultdict
%o A345627 keep = defaultdict(lambda: 0)
%o A345627 power_terms = [x**5 for x in range(1, 1000)]
%o A345627 for pos in cwr(power_terms, 9):
%o A345627     tot = sum(pos)
%o A345627     keep[tot] += 1
%o A345627     rets = sorted([k for k, v in keep.items() if v >= 10])
%o A345627     for x in range(len(rets)):
%o A345627         print(rets[x])
%Y A345627 Cf. A345594, A345618, A345626, A345642, A346345.
%K A345627 nonn
%O A345627 1,1
%A A345627 _David Consiglio, Jr._, Jun 20 2021