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.

A345862 Numbers that are the sum of ten fourth powers in exactly ten ways.

This page as a plain text file.
%I A345862 #6 Jul 31 2021 20:00:36
%S A345862 6885,7990,8035,8165,8275,8340,8515,8565,8580,9140,9235,9285,9445,
%T A345862 9495,9510,9540,9620,9670,9795,9830,9860,9924,9925,9990,10005,10164,
%U A345862 10294,10340,10374,10404,10420,10515,10534,10884,10950,10980,11075,11125,11190,11220
%N A345862 Numbers that are the sum of ten fourth powers in exactly ten ways.
%C A345862 Differs from A345603 at term 4 because 8100 = 1^4 + 1^4 + 1^4 + 2^4 + 2^4 + 2^4 + 4^4 + 6^4 + 7^4 + 8^4  = 1^4 + 1^4 + 1^4 + 2^4 + 2^4 + 3^4 + 6^4 + 6^4 + 6^4 + 8^4  = 1^4 + 1^4 + 1^4 + 4^4 + 4^4 + 4^4 + 4^4 + 4^4 + 4^4 + 9^4  = 1^4 + 1^4 + 1^4 + 4^4 + 4^4 + 6^4 + 6^4 + 6^4 + 6^4 + 7^4  = 1^4 + 2^4 + 2^4 + 2^4 + 2^4 + 2^4 + 3^4 + 3^4 + 6^4 + 9^4  = 2^4 + 2^4 + 2^4 + 2^4 + 3^4 + 3^4 + 3^4 + 6^4 + 7^4 + 8^4  = 2^4 + 2^4 + 2^4 + 3^4 + 4^4 + 4^4 + 4^4 + 7^4 + 7^4 + 7^4  = 2^4 + 2^4 + 3^4 + 3^4 + 4^4 + 4^4 + 6^4 + 6^4 + 7^4 + 7^4  = 2^4 + 3^4 + 3^4 + 3^4 + 4^4 + 4^4 + 4^4 + 4^4 + 4^4 + 9^4  = 2^4 + 3^4 + 3^4 + 3^4 + 4^4 + 6^4 + 6^4 + 6^4 + 6^4 + 7^4  = 3^4 + 3^4 + 3^4 + 3^4 + 6^4 + 6^4 + 6^4 + 6^4 + 6^4 + 6^4.
%H A345862 Sean A. Irvine, <a href="/A345862/b345862.txt">Table of n, a(n) for n = 1..10000</a>
%e A345862 7990 is a term because 7990 = 1^4 + 1^4 + 1^4 + 1^4 + 1^4 + 1^4 + 6^4 + 6^4 + 6^4 + 8^4 = 1^4 + 1^4 + 1^4 + 1^4 + 2^4 + 2^4 + 2^4 + 3^4 + 6^4 + 9^4 = 1^4 + 1^4 + 1^4 + 2^4 + 2^4 + 3^4 + 3^4 + 6^4 + 7^4 + 8^4 = 1^4 + 1^4 + 1^4 + 2^4 + 4^4 + 4^4 + 4^4 + 7^4 + 7^4 + 7^4 = 1^4 + 1^4 + 1^4 + 3^4 + 4^4 + 4^4 + 6^4 + 6^4 + 7^4 + 7^4 = 1^4 + 4^4 + 4^4 + 4^4 + 5^4 + 5^4 + 5^4 + 5^4 + 5^4 + 8^4 = 2^4 + 2^4 + 3^4 + 3^4 + 3^4 + 4^4 + 4^4 + 7^4 + 7^4 + 7^4 = 2^4 + 3^4 + 3^4 + 3^4 + 3^4 + 4^4 + 6^4 + 6^4 + 7^4 + 7^4 = 3^4 + 3^4 + 3^4 + 3^4 + 3^4 + 4^4 + 4^4 + 4^4 + 4^4 + 9^4 = 3^4 + 3^4 + 3^4 + 3^4 + 3^4 + 6^4 + 6^4 + 6^4 + 6^4 + 7^4.
%o A345862 (Python)
%o A345862 from itertools import combinations_with_replacement as cwr
%o A345862 from collections import defaultdict
%o A345862 keep = defaultdict(lambda: 0)
%o A345862 power_terms = [x**4 for x in range(1, 1000)]
%o A345862 for pos in cwr(power_terms, 10):
%o A345862     tot = sum(pos)
%o A345862     keep[tot] += 1
%o A345862     rets = sorted([k for k, v in keep.items() if v == 10])
%o A345862     for x in range(len(rets)):
%o A345862         print(rets[x])
%Y A345862 Cf. A345603, A345812, A345852, A345861, A346355.
%K A345862 nonn
%O A345862 1,1
%A A345862 _David Consiglio, Jr._, Jun 26 2021