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.

A341897 Numbers that are the sum of five fourth powers in ten or more ways.

This page as a plain text file.
%I A341897 #16 May 10 2024 02:27:06
%S A341897 954979,1205539,1574850,1713859,1801459,1863859,1877394,1882579,
%T A341897 2071939,2109730,2138419,2142594,2157874,2225859,2288179,2419954,
%U A341897 2492434,2495939,2605314,2663539,2711394,2784499,2835939,2847394,2849859,2880994,2919154,2924674,3007474
%N A341897 Numbers that are the sum of five fourth powers in ten or more ways.
%H A341897 David Consiglio, Jr., <a href="/A341897/b341897.txt">Table of n, a(n) for n = 1..10000</a>
%e A341897 954979 =  1^4 +  2^4 + 11^4 + 19^4 + 30^4
%e A341897        =  1^4 +  7^4 + 18^4 + 25^4 + 26^4
%e A341897        =  3^4 +  8^4 + 17^4 + 20^4 + 29^4
%e A341897        =  4^4 +  8^4 + 13^4 + 25^4 + 27^4
%e A341897        =  4^4 +  9^4 + 10^4 + 11^4 + 31^4
%e A341897        =  6^4 +  6^4 + 15^4 + 21^4 + 29^4
%e A341897        =  7^4 + 10^4 + 18^4 + 19^4 + 29^4
%e A341897        = 11^4 + 11^4 + 20^4 + 22^4 + 27^4
%e A341897        = 16^4 + 17^4 + 17^4 + 24^4 + 25^4
%e A341897        = 18^4 + 19^4 + 20^4 + 23^4 + 23^4
%e A341897 so 954979 is a term.
%o A341897 (Python)
%o A341897 from itertools import combinations_with_replacement as cwr
%o A341897 from collections import defaultdict
%o A341897 keep = defaultdict(lambda: 0)
%o A341897 power_terms = [x**4 for x in range(1, 1000)]
%o A341897 for pos in cwr(power_terms, 5):
%o A341897     tot = sum(pos)
%o A341897     keep[tot] += 1
%o A341897 rets = sorted([k for k, v in keep.items() if v >= 10])
%o A341897 for x in range(len(rets)):
%o A341897     print(rets[x])
%Y A341897 Cf. A341891, A341898, A344928, A345187, A345567.
%K A341897 nonn
%O A341897 1,1
%A A341897 _David Consiglio, Jr._, Jun 04 2021