login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A345511 Numbers that are the sum of six cubes in two or more ways. 7
158, 165, 184, 221, 228, 235, 247, 254, 256, 261, 268, 273, 275, 280, 282, 284, 287, 291, 294, 306, 310, 313, 317, 324, 331, 332, 343, 345, 347, 350, 352, 362, 369, 371, 373, 376, 378, 380, 385, 387, 388, 392, 395, 399, 404, 406, 408, 411, 418, 425, 430, 432 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Sean A. Irvine, Table of n, a(n) for n = 1..10000

EXAMPLE

165 is a term because 165 = 1^3 + 1^3 + 2^3 + 3^3 + 3^3 + 3^3 = 2^3 + 2^3 + 2^3 + 2^3 + 2^3 + 4^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, 6):

    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

Cf. A003329, A048930, A343702, A344806, A345512, A345520, A345559.

Sequence in context: A074220 A015265 A260447 * A048930 A130864 A045245

Adjacent sequences:  A345508 A345509 A345510 * A345512 A345513 A345514

KEYWORD

nonn

AUTHOR

David Consiglio, Jr., Jun 20 2021

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 29 18:41 EST 2021. Contains 349416 sequences. (Running on oeis4.)