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.

A344518 Numbers that are the sum of five positive fifth powers in four or more ways.

This page as a plain text file.
%I A344518 #12 Jan 11 2025 04:13:57
%S A344518 287618651,1386406515,1763135232,2494769760,2619898293,3096064443,
%T A344518 3291315732,3749564512,4045994624,5142310350,5183605813,5658934676,
%U A344518 5880926107,7205217018,7401155424,7691215599,8429499101,8926086432,9006349824,9051501568,9203796832
%N A344518 Numbers that are the sum of five positive fifth powers in four or more ways.
%H A344518 Sean A. Irvine, <a href="/A344518/b344518.txt">Table of n, a(n) for n = 1..4906</a>
%e A344518 287618651 is a term because
%e A344518 287618651 =  8^5 + 21^5 + 27^5 + 27^5 + 48^5
%e A344518           =  9^5 + 13^5 + 26^5 + 37^5 + 46^5
%e A344518           = 11^5 + 12^5 + 23^5 + 41^5 + 44^5
%e A344518           = 11^5 + 20^5 + 22^5 + 30^5 + 48^5.
%e A344518 [Corrected by _Patrick De Geest_, Dec 28 2024]
%o A344518 (Python)
%o A344518 from itertools import combinations_with_replacement as cwr
%o A344518 from collections import defaultdict
%o A344518 keep = defaultdict(lambda: 0)
%o A344518 power_terms = [x**5 for x in range(1, 500)]
%o A344518 for pos in cwr(power_terms, 5):
%o A344518     tot = sum(pos)
%o A344518     keep[tot] += 1
%o A344518 rets = sorted([k for k, v in keep.items() if v >= 4])
%o A344518 for x in range(len(rets)):
%o A344518     print(rets[x])
%Y A344518 Cf. A342685, A342686, A342687, A342688, A342687, A344519, A345718, A345863, A345864, A346257.
%K A344518 nonn
%O A344518 1,1
%A A344518 _David Consiglio, Jr._, May 21 2021