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.

A344945 Numbers that are the sum of five fourth powers in exactly eight ways.

This page as a plain text file.
%I A344945 #7 Jul 31 2021 22:03:09
%S A344945 534130,654754,663155,729219,737459,742770,758354,810034,813459,
%T A344945 816579,831250,906034,930499,954930,1009954,1055619,1083955,1099459,
%U A344945 1101859,1103554,1106019,1157634,1167794,1180003,1215394,1217539,1246354,1253074,1255539,1278690
%N A344945 Numbers that are the sum of five fourth powers in exactly eight ways.
%C A344945 Differs from A344944 at term 2 because 619090 = 1^4 + 2^4 + 18^4 + 22^4 + 23^4  = 1^4 + 3^4 + 4^4 + 8^4 + 28^4  = 1^4 + 11^4 + 14^4 + 22^4 + 24^4  = 2^4 + 2^4 + 8^4 + 17^4 + 27^4  = 2^4 + 13^4 + 13^4 + 18^4 + 26^4  = 3^4 + 6^4 + 12^4 + 16^4 + 27^4  = 4^4 + 12^4 + 14^4 + 23^4 + 23^4  = 9^4 + 12^4 + 16^4 + 21^4 + 24^4  = 14^4 + 16^4 + 18^4 + 19^4 + 23^4.
%H A344945 David Consiglio, Jr., <a href="/A344945/b344945.txt">Table of n, a(n) for n = 1..10000</a>
%e A344945 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.
%o A344945 (Python)
%o A344945 from itertools import combinations_with_replacement as cwr
%o A344945 from collections import defaultdict
%o A344945 keep = defaultdict(lambda: 0)
%o A344945 power_terms = [x**4 for x in range(1, 1000)]
%o A344945 for pos in cwr(power_terms, 5):
%o A344945     tot = sum(pos)
%o A344945     keep[tot] += 1
%o A344945 rets = sorted([k for k, v in keep.items() if v == 8])
%o A344945 for x in range(len(rets)):
%o A344945     print(rets[x])
%Y A344945 Cf. A341892, A344925, A344943, A344944, A345184, A345820.
%K A344945 nonn
%O A344945 1,1
%A A344945 _David Consiglio, Jr._, Jun 03 2021