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.

Showing 1-7 of 7 results.

A345521 Numbers that are the sum of seven cubes in three or more ways.

Original entry on oeis.org

222, 229, 248, 255, 262, 281, 283, 285, 318, 346, 370, 374, 377, 379, 381, 396, 400, 407, 412, 419, 426, 433, 437, 438, 444, 451, 463, 470, 472, 475, 477, 489, 494, 496, 501, 503, 505, 507, 510, 522, 529, 533, 536, 559, 564, 566, 568, 570, 577, 578, 584, 585
Offset: 1

Views

Author

David Consiglio, Jr., Jun 20 2021

Keywords

Examples

			229 is a term because 229 = 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 2^3 + 5^3 = 1^3 + 1^3 + 2^3 + 3^3 + 3^3 + 3^3 + 3^3 = 2^3 + 2^3 + 2^3 + 2^3 + 2^3 + 3^3 + 4^3.
		

Crossrefs

Programs

  • 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, 7):
        tot = sum(pos)
        keep[tot] += 1
        rets = sorted([k for k, v in keep.items() if v >= 3])
        for x in range(len(rets)):
            print(rets[x])

A345534 Numbers that are the sum of eight cubes in four or more ways.

Original entry on oeis.org

256, 347, 382, 401, 408, 427, 434, 438, 445, 464, 471, 478, 480, 490, 497, 499, 502, 504, 506, 511, 516, 523, 530, 532, 534, 537, 560, 565, 567, 569, 571, 578, 586, 593, 595, 597, 600, 602, 604, 605, 611, 612, 616, 619, 621, 623, 624, 626, 628, 630, 635, 642
Offset: 1

Views

Author

David Consiglio, Jr., Jun 20 2021

Keywords

Examples

			347 is a term because 347 = 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 4^3 + 5^3 = 1^3 + 1^3 + 1^3 + 3^3 + 3^3 + 3^3 + 3^3 + 4^3 = 1^3 + 2^3 + 2^3 + 2^3 + 2^3 + 3^3 + 4^3 + 4^3 = 2^3 + 2^3 + 2^3 + 2^3 + 2^3 + 3^3 + 3^3 + 5^3.
		

Crossrefs

Programs

  • 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, 8):
        tot = sum(pos)
        keep[tot] += 1
        rets = sorted([k for k, v in keep.items() if v >= 4])
        for x in range(len(rets)):
            print(rets[x])

A345542 Numbers that are the sum of nine positive cubes in three or more ways.

Original entry on oeis.org

224, 231, 238, 245, 250, 257, 259, 264, 271, 276, 278, 280, 283, 285, 287, 290, 292, 294, 297, 299, 301, 302, 309, 311, 313, 315, 316, 318, 320, 322, 327, 334, 335, 337, 339, 341, 346, 348, 350, 353, 355, 357, 362, 365, 372, 374, 376, 379, 381, 383, 386, 387
Offset: 1

Views

Author

David Consiglio, Jr., Jun 20 2021

Keywords

Examples

			231 is a term because 231 = 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 2^3 + 5^3 = 1^3 + 1^3 + 1^3 + 1^3 + 2^3 + 3^3 + 3^3 + 3^3 + 3^3 = 1^3 + 1^3 + 2^3 + 2^3 + 2^3 + 2^3 + 2^3 + 3^3 + 4^3.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[400],Length[Select[PowersRepresentations[#,9,3],FreeQ[ #,0]&]]> 2&] (* Harvey P. Dale, Jan 04 2022 *)
  • 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 >= 3])
        for x in range(len(rets)):
            print(rets[x])

Extensions

Definition corrected by Harvey P. Dale, Jan 04 2022

A345578 Numbers that are the sum of eight fourth powers in three or more ways.

Original entry on oeis.org

518, 2678, 2693, 2708, 2738, 2758, 2773, 2838, 2853, 2868, 2883, 2918, 2933, 2948, 2998, 3013, 3078, 3108, 3123, 3173, 3188, 3253, 3302, 3317, 3363, 3382, 3428, 3477, 3492, 3542, 3557, 3622, 3732, 3778, 3797, 3893, 3926, 3953, 3973, 3988, 4018, 4053, 4101
Offset: 1

Views

Author

David Consiglio, Jr., Jun 20 2021

Keywords

Examples

			2678 is a term because 2678 = 1^4 + 1^4 + 1^4 + 1^4 + 1^4 + 2^4 + 4^4 + 7^4 = 1^4 + 1^4 + 1^4 + 1^4 + 1^4 + 3^4 + 6^4 + 6^4 = 1^4 + 1^4 + 2^4 + 2^4 + 3^4 + 3^4 + 3^4 + 7^4.
		

Crossrefs

Programs

  • Python
    from itertools import combinations_with_replacement as cwr
    from collections import defaultdict
    keep = defaultdict(lambda: 0)
    power_terms = [x**4 for x in range(1, 1000)]
    for pos in cwr(power_terms, 8):
        tot = sum(pos)
        keep[tot] += 1
        rets = sorted([k for k, v in keep.items() if v >= 3])
        for x in range(len(rets)):
            print(rets[x])

A345532 Numbers that are the sum of eight cubes in two or more ways.

Original entry on oeis.org

132, 139, 158, 160, 167, 174, 181, 186, 193, 195, 197, 200, 212, 216, 219, 223, 230, 237, 238, 244, 249, 251, 256, 258, 263, 265, 270, 272, 275, 277, 282, 284, 286, 288, 289, 291, 293, 296, 298, 300, 301, 303, 307, 308, 310, 312, 314, 315, 317, 319, 321, 322
Offset: 1

Views

Author

David Consiglio, Jr., Jun 20 2021

Keywords

Examples

			139 is a term because 139 = 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 2^3 + 4^3 = 2^3 + 2^3 + 2^3 + 2^3 + 2^3 + 2^3 + 3^3 + 3^3.
		

Crossrefs

Programs

  • 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, 8):
        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])

A345785 Numbers that are the sum of eight cubes in exactly three ways.

Original entry on oeis.org

223, 230, 237, 249, 263, 270, 275, 282, 284, 286, 289, 291, 293, 308, 310, 312, 319, 326, 345, 349, 354, 364, 371, 373, 375, 378, 380, 385, 386, 387, 389, 397, 399, 404, 406, 410, 412, 413, 415, 420, 423, 439, 441, 443, 446, 449, 452, 453, 459, 460, 465, 473
Offset: 1

Views

Author

David Consiglio, Jr., Jun 26 2021

Keywords

Comments

Differs from A345533 at term 5 because 256 = 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 5^3 + 5^3 = 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 2^3 + 3^3 + 6^3 = 1^3 + 1^3 + 2^3 + 3^3 + 3^3 + 4^3 + 4^3 + 4^3 = 2^3 + 2^3 + 2^3 + 2^3 + 2^3 + 3^3 + 4^3 + 5^3.
Likely finite.

Examples

			230 is a term because 230 = 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 1^3 + 2^3 + 5^3 = 1^3 + 1^3 + 1^3 + 2^3 + 3^3 + 3^3 + 3^3 + 3^3 = 1^3 + 2^3 + 2^3 + 2^3 + 2^3 + 2^3 + 3^3 + 4^3.
		

Crossrefs

Programs

  • 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, 8):
        tot = sum(pos)
        keep[tot] += 1
        rets = sorted([k for k, v in keep.items() if v == 3])
        for x in range(len(rets)):
            print(rets[x])

A345490 Numbers that are the sum of eight squares in three or more ways.

Original entry on oeis.org

32, 35, 38, 40, 41, 43, 44, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102
Offset: 1

Views

Author

David Consiglio, Jr., Jun 20 2021

Keywords

Examples

			35 is a term because 35 = 1^2 + 1^2 + 1^2 + 1^2 + 1^2 + 1^2 + 2^2 + 5^2 = 1^2 + 1^2 + 1^2 + 1^2 + 2^2 + 3^2 + 3^2 + 3^2 = 1^2 + 1^2 + 1^2 + 2^2 + 2^2 + 2^2 + 2^2 + 4^2.
		

Crossrefs

Programs

  • Python
    from itertools import combinations_with_replacement as cwr
    from collections import defaultdict
    keep = defaultdict(lambda: 0)
    power_terms = [x**2 for x in range(1, 1000)]
    for pos in cwr(power_terms, 8):
        tot = sum(pos)
        keep[tot] += 1
        rets = sorted([k for k, v in keep.items() if v >= 3])
        for x in range(len(rets)):
            print(rets[x])
Showing 1-7 of 7 results.