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.

A344277 Numbers that are the sum of three fourth powers in four or more ways.

This page as a plain text file.
%I A344277 #6 Jul 31 2021 18:29:07
%S A344277 5978882,15916082,20621042,22673378,30623138,33998258,39765362,
%T A344277 48432482,53809938,61627202,65413922,74346818,84942578,88258898,
%U A344277 95662112,103363442,117259298,128929682,131641538,137149922,143244738,155831858,158811842,167042642,174135122,175706258,188529362
%N A344277 Numbers that are the sum of three fourth powers in four or more ways.
%H A344277 David Consiglio, Jr., <a href="/A344277/b344277.txt">Table of n, a(n) for n = 1..9084</a>
%e A344277 20621042 is a member of this sequence because 20621042 = 5^4 + 54^4 + 59^4 = 10^4 + 51^4 + 61^4 = 25^4 + 46^4 + 63^4 = 26^4 + 39^4 + 65^4
%o A344277 (Python)
%o A344277 from itertools import combinations_with_replacement as cwr
%o A344277 from collections import defaultdict
%o A344277 keep = defaultdict(lambda: 0)
%o A344277 power_terms = [x**4 for x in range(1,50)]
%o A344277 for pos in cwr(power_terms,3):
%o A344277     tot = sum(pos)
%o A344277     keep[tot] += 1
%o A344277 rets = sorted([k for k,v in keep.items() if v >= 4])
%o A344277 for x in range(len(rets)):
%o A344277     print(rets[x])
%Y A344277 Cf. A343968, A344239, A344278, A344352, A344364.
%K A344277 nonn
%O A344277 1,1
%A A344277 _David Consiglio, Jr._, May 13 2021