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.
%I A003339 #36 Feb 16 2025 08:32:27 %S A003339 5,20,35,50,65,80,85,100,115,130,145,165,180,195,210,245,260,275,290, %T A003339 305,320,325,340,355,370,385,405,420,435,450,500,515,530,545,560,580, %U A003339 595,610,625,629,644,659,674,675,689,690,709,724,739,754,755,770,785,789,800 %N A003339 Numbers that are the sum of 5 positive 4th powers. %H A003339 David A. Corneth, <a href="/A003339/b003339.txt">Table of n, a(n) for n = 1..10000</a> (first 1000 terms from T. D. Noe) %H A003339 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/BiquadraticNumber.html">Biquadratic Number.</a> %e A003339 From _David A. Corneth_, Aug 04 2020: (Start) %e A003339 22418 is in the sequence as 22418 = 1^4 + 2^4 + 7^4 + 10^4 + 10^4. %e A003339 30004 is in the sequence as 30004 = 2^4 + 3^4 + 5^4 + 11^4 + 11^4. %e A003339 39028 is in the sequence as 39028 = 5^4 + 5^4 + 7^4 + 11^4 + 12^4. (End) %t A003339 Select[Range[1000], AnyTrue[PowersRepresentations[#, 5, 4], First[#]>0&]&] (* _Jean-François Alcover_, Jul 18 2017 *) %o A003339 (Python) %o A003339 from itertools import combinations_with_replacement as combs_with_rep %o A003339 def aupto(limit): %o A003339 qd = [k**4 for k in range(1, int(limit**.25)+2) if k**4 + 4 <= limit] %o A003339 ss = set(sum(c) for c in combs_with_rep(qd, 5)) %o A003339 return sorted(s for s in ss if s <= limit) %o A003339 print(aupto(800)) # _Michael S. Branicky_, May 20 2021 %Y A003339 Supersequence of A047716. %Y A003339 Cf. A000583, A003328, A003338, A003340, A003350, A344190, A344238. %K A003339 nonn,easy %O A003339 1,1 %A A003339 _N. J. A. Sloane_