login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A345794 Numbers that are the sum of nine cubes in exactly two ways. 7
72, 133, 140, 147, 159, 161, 166, 168, 175, 182, 185, 187, 189, 194, 196, 198, 201, 203, 205, 208, 213, 217, 220, 222, 227, 239, 243, 246, 252, 261, 265, 266, 273, 289, 296, 304, 306, 308, 323, 325, 328, 329, 330, 336, 342, 344, 349, 351, 352, 354, 356, 358 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Differs from A345541 at term 25 because 224 = 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 6^3 = 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 3^3 + 4^3 + 4^3 + 4^3 = 1^3 + 1^3 + 1^3 + 2^3 + 2^3 + 2^3 + 2^3 + 4^3 + 5^3 = 2^3 + 3^3 + 3^3 + 3^3 + 3^3 + 3^3 + 3^3 + 3^3 + 3^3.
Likely finite.
LINKS
EXAMPLE
133 is a term because 133 = 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 4^3 = 1^3 + 1^3 + 2^3 + 2^3 + 2^3 + 2^3 + 2^3 + 3^3 + 3^3.
PROG
(Python)
from itertools import combinations_with_replacement as cwr
from collections import defaultdict
keep = defaultdict(lambda: 0)
power_terms = [x**3 for x in range(1, 1000)]
for pos in cwr(power_terms, 9):
tot = sum(pos)
keep[tot] += 1
rets = sorted([k for k, v in keep.items() if v == 2])
for x in range(len(rets)):
print(rets[x])
CROSSREFS
Sequence in context: A227166 A250772 A345541 * A157336 A369333 A369334
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 6 10:51 EDT 2024. Contains 375712 sequences. (Running on oeis4.)