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.

A345863 Numbers that are the sum of five fifth powers in five or more ways.

This page as a plain text file.
%I A345863 #12 May 10 2024 08:50:45
%S A345863 9006349824,65799210368,67629776576,181085909632,188189635424,
%T A345863 288203194368,295677350451,467139768468,471359089024,656243139157,
%U A345863 691381929281,797466940832,854533526901,874953049024,891862586132,953769598750,1038549256768
%N A345863 Numbers that are the sum of five fifth powers in five or more ways.
%H A345863 Sean A. Irvine, <a href="/A345863/b345863.txt">Table of n, a(n) for n = 1..168</a>
%o A345863 (Python)
%o A345863 from itertools import combinations_with_replacement as cwr
%o A345863 from collections import defaultdict
%o A345863 keep = defaultdict(lambda: 0)
%o A345863 power_terms = [x**5 for x in range(1, 1000)]
%o A345863 for pos in cwr(power_terms, 5):
%o A345863     tot = sum(pos)
%o A345863     keep[tot] += 1
%o A345863     rets = sorted([k for k, v in keep.items() if v >= 5])
%o A345863     for x in range(len(rets)):
%o A345863         print(rets[x])
%Y A345863 Cf. A344358, A344518, A345719, A345864, A346257.
%K A345863 nonn
%O A345863 1,1
%A A345863 _David Consiglio, Jr._, Jun 27 2021