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.

A345599 Numbers that are the sum of ten fourth powers in six or more ways.

This page as a plain text file.
%I A345599 #6 Jul 31 2021 17:25:54
%S A345599 3175,4150,4230,4390,4405,4455,4470,4485,4500,4550,4565,4630,4725,
%T A345599 4740,4915,4980,5094,5109,5155,5190,5205,5220,5270,5285,5350,5365,
%U A345599 5395,5430,5445,5460,5475,5525,5540,5590,5605,5635,5655,5670,5700,5715,5735,5765,5780
%N A345599 Numbers that are the sum of ten fourth powers in six or more ways.
%H A345599 Sean A. Irvine, <a href="/A345599/b345599.txt">Table of n, a(n) for n = 1..10000</a>
%e A345599 4150 is a term because 4150 = 1^4 + 1^4 + 1^4 + 1^4 + 1^4 + 1^4 + 2^4 + 2^4 + 2^4 + 8^4 = 1^4 + 1^4 + 1^4 + 1^4 + 1^4 + 1^4 + 4^4 + 6^4 + 6^4 + 6^4 = 1^4 + 1^4 + 1^4 + 2^4 + 2^4 + 3^4 + 3^4 + 4^4 + 6^4 + 7^4 = 1^4 + 1^4 + 1^4 + 2^4 + 3^4 + 3^4 + 3^4 + 6^4 + 6^4 + 6^4 = 1^4 + 4^4 + 4^4 + 4^4 + 4^4 + 5^4 + 5^4 + 5^4 + 5^4 + 5^4 = 2^4 + 2^4 + 2^4 + 3^4 + 3^4 + 3^4 + 3^4 + 3^4 + 6^4 + 7^4.
%o A345599 (Python)
%o A345599 from itertools import combinations_with_replacement as cwr
%o A345599 from collections import defaultdict
%o A345599 keep = defaultdict(lambda: 0)
%o A345599 power_terms = [x**4 for x in range(1, 1000)]
%o A345599 for pos in cwr(power_terms, 10):
%o A345599     tot = sum(pos)
%o A345599     keep[tot] += 1
%o A345599     rets = sorted([k for k, v in keep.items() if v >= 6])
%o A345599     for x in range(len(rets)):
%o A345599         print(rets[x])
%Y A345599 Cf. A345554, A345590, A345598, A345600, A345638, A345858.
%K A345599 nonn
%O A345599 1,1
%A A345599 _David Consiglio, Jr._, Jun 20 2021