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.

A345535 Numbers that are the sum of eight cubes in five or more ways.

This page as a plain text file.
%I A345535 #6 Aug 05 2021 15:20:53
%S A345535 471,497,504,597,623,628,630,635,642,649,654,661,667,680,686,691,693,
%T A345535 712,717,719,723,728,736,738,741,743,752,754,755,762,769,774,776,778,
%U A345535 780,781,783,784,785,788,791,793,795,797,800,802,804,810,813,814,815,817
%N A345535 Numbers that are the sum of eight cubes in five or more ways.
%H A345535 Sean A. Irvine, <a href="/A345535/b345535.txt">Table of n, a(n) for n = 1..10000</a>
%e A345535 497 is a term because 497 = 1^3 + 1^3 + 1^3 + 1^3 + 3^3 + 4^3 + 4^3 + 5^3 = 1^3 + 1^3 + 1^3 + 2^3 + 3^3 + 3^3 + 5^3 + 5^3 = 1^3 + 1^3 + 2^3 + 2^3 + 2^3 + 3^3 + 3^3 + 6^3 = 1^3 + 3^3 + 3^3 + 3^3 + 3^3 + 3^3 + 4^3 + 4^3 = 2^3 + 3^3 + 3^3 + 3^3 + 3^3 + 3^3 + 3^3 + 5^3.
%o A345535 (Python)
%o A345535 from itertools import combinations_with_replacement as cwr
%o A345535 from collections import defaultdict
%o A345535 keep = defaultdict(lambda: 0)
%o A345535 power_terms = [x**3 for x in range(1, 1000)]
%o A345535 for pos in cwr(power_terms, 8):
%o A345535     tot = sum(pos)
%o A345535     keep[tot] += 1
%o A345535     rets = sorted([k for k, v in keep.items() if v >= 5])
%o A345535     for x in range(len(rets)):
%o A345535         print(rets[x])
%Y A345535 Cf. A345492, A345523, A345534, A345536, A345544, A345580, A345787.
%K A345535 nonn
%O A345535 1,1
%A A345535 _David Consiglio, Jr._, Jun 20 2021