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-6 of 6 results.

A343989 Numbers that are the sum of five positive cubes in five or more ways.

Original entry on oeis.org

1765, 1980, 2043, 2104, 2195, 2250, 2430, 2449, 2486, 2491, 2493, 2547, 2584, 2592, 2738, 2745, 2764, 2817, 2888, 2915, 2953, 2969, 2979, 3095, 3096, 3133, 3142, 3186, 3188, 3214, 3240, 3249, 3275, 3277, 3310, 3312, 3366, 3403, 3422, 3459, 3464, 3466, 3483, 3492, 3520, 3529, 3583, 3608, 3627, 3653, 3664, 3671
Offset: 1

Views

Author

David Consiglio, Jr., May 06 2021

Keywords

Examples

			2043 = 1^3 + 4^3 + 5^3 +  5^3 + 12^3
     = 2^3 + 2^3 + 3^3 + 10^3 + 10^3
     = 2^3 + 3^3 + 4^3 +  6^3 + 12^3
     = 4^3 + 5^3 + 5^3 +  9^3 + 10^3
     = 4^3 + 6^3 + 6^3 +  6^3 + 11^3
so 2043 is a term.
		

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

A344359 Numbers that are the sum of five fourth powers in exactly five ways.

Original entry on oeis.org

59779, 67859, 93394, 108274, 112850, 136915, 142354, 151475, 161459, 168979, 181219, 183539, 183604, 185299, 187699, 189394, 193379, 195394, 199090, 199474, 200979, 201874, 202979, 203299, 205859, 211330, 212419, 213730, 217810, 217890, 221779, 223090, 223155, 223714, 226514, 227779, 231235
Offset: 1

Views

Author

David Consiglio, Jr., May 15 2021

Keywords

Comments

Differs from A344358 at term 8 because 151300 = 3^4 + 3^4 + 3^4 + 12^4 + 19^4 = 3^4 + 11^4 + 11^4 + 14^4 + 17^4 = 3^4 + 13^4 + 13^4 + 13^4 + 16^4 = 6^4 + 9^4 + 9^4 + 9^4 + 19^4 = 7^4 + 11^4 + 11^4 + 11^4 + 18^4 = 8^4 + 9^4 + 13^4 + 13^4 + 17^4.

Examples

			93394 is a term of this sequence because 93394 = 1^4 + 4^4 + 8^4 + 14^4 + 15^4 = 1^4 + 6^4 + 12^4 + 12^4 + 15^4 = 1^4 + 9^4 + 10^4 + 14^4 + 14^4 = 5^4 + 6^4 + 11^4 + 14^4 + 14^4 = 5^4 + 7^4 + 8^4 + 12^4 + 16^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, 50)]
    for pos in cwr(power_terms, 5):
        tot = sum(pos)
        keep[tot] += 1
    rets = sorted([k for k, v in keep.items() if v == 5])
    for x in range(len(rets)):
        print(rets[x])

A343986 Numbers that are the sum of four positive cubes in exactly five ways.

Original entry on oeis.org

5105, 5131, 5616, 5859, 6435, 7777, 9315, 9737, 9793, 10017, 10250, 10458, 10936, 10962, 11000, 11060, 11088, 11592, 11664, 11781, 12168, 12229, 12285, 12320, 12385, 12392, 12707, 13384, 13734, 13832, 13904, 14183, 14239, 14833, 15176, 15596, 15624, 15752, 15759, 15778, 16093, 16289, 16354, 16480, 16569
Offset: 1

Views

Author

David Consiglio, Jr., May 06 2021

Keywords

Comments

Differs from A343987 at term 6 because 6883 = 2^3 + 2^3 + 2^3 + 19^3 = 2^3 + 5^3 + 15^3 + 15^3 = 3^3 + 8^3 + 8^3 + 18^3 = 4^3 + 11^3 + 14^3 + 14^3 = 5^3 + 11^3 + 11^3 + 16^3 = 8^3 + 9^3 + 9^3 + 17^3.

Examples

			5616 is a term because 5616 = 1^3 + 8^3 + 12^3 + 15^3 = 2^3 + 8^3 + 10^3 + 16^3 = 4^3 + 4^3 + 14^3 + 14^3 = 4^3 + 5^3 + 11^3 + 16^3 = 8^3 + 9^3 + 10^3 + 15^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,50)]
    for pos in cwr(power_terms,4):
        tot = sum(pos)
        keep[tot] += 1
    rets = sorted([k for k,v in keep.items() if v == 5])
    for x in range(len(rets)):
        print(rets[x])

A344035 Numbers that are the sum of five positive cubes in exactly four ways.

Original entry on oeis.org

1252, 1376, 1461, 1522, 1548, 1585, 1590, 1646, 1702, 1709, 1737, 1739, 1772, 1798, 1802, 1810, 1864, 1889, 1954, 1987, 2006, 2033, 2081, 2096, 2152, 2160, 2225, 2241, 2251, 2276, 2313, 2322, 2339, 2341, 2367, 2374, 2377, 2416, 2423, 2456, 2458, 2465, 2467, 2512, 2521, 2528, 2530, 2537, 2540, 2549, 2556, 2582
Offset: 1

Views

Author

David Consiglio, Jr., May 07 2021

Keywords

Comments

Differs from A344034 at term 13 because 1765 = 1^3 + 1^3 + 2^3 + 3^3 + 12^3 = 1^3 + 1^3 + 6^3 + 6^3 + 11^3 = 1^3 + 2^3 + 3^3 + 9^3 + 10^3 = 3^3 + 4^3 + 6^3 + 9^3 + 9^3 = 4^3 + 4^3 + 5^3 + 8^3 + 10^3

Examples

			1461 is a member of this sequence because 1461 = 1^3 + 1^3 + 1^3 + 9^3 + 9^3 = 1^3 + 1^3 + 4^3 + 4^3 + 11^3 = 3^3 + 3^3 + 4^3 + 7^3 + 10^3 = 6^3 + 6^3 + 7^3 + 7^3 + 7^3
		

Crossrefs

Programs

  • Mathematica
    s5pcQ[n_]:=Length[Select[PowersRepresentations[n,5,3],FreeQ[#,0]&]]==4; Select[Range[ 3000],s5pcQ] (* Harvey P. Dale, Sep 15 2024 *)
  • 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,50)]
    for pos in cwr(power_terms,5):
        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])

A345175 Numbers that are the sum of five third powers in exactly six ways.

Original entry on oeis.org

2430, 2979, 3214, 3249, 3312, 3492, 3520, 3737, 3753, 3788, 3816, 3842, 3942, 3968, 4121, 4185, 4213, 4267, 4355, 4411, 4418, 4446, 4453, 4456, 4465, 4482, 4509, 4563, 4626, 4663, 4670, 4723, 4753, 4896, 4905, 4924, 4938, 4941, 4950, 4960, 4976, 4987, 4994
Offset: 1

Views

Author

David Consiglio, Jr., Jun 10 2021

Keywords

Comments

Differs from A345174 at term 20 because 4392 = 1^3 + 1^3 + 10^3 + 10^3 + 11^3 = 1^3 + 2^3 + 2^3 + 9^3 + 14^3 = 1^3 + 8^3 + 9^3 + 10^3 + 10^3 = 2^3 + 2^3 + 3^3 + 5^3 + 15^3 = 2^3 + 3^3 + 5^3 + 8^3 + 14^3 = 2^3 + 8^3 + 8^3 + 8^3 + 12^3 = 3^3 + 6^3 + 7^3 + 8^3 + 13^3 = 5^3 + 5^3 + 5^3 + 9^3 + 13^3.

Examples

			2430 is a term because 2430 = 1^3 + 2^3 + 2^3 + 5^3 + 12^3  = 1^3 + 3^3 + 4^3 + 7^3 + 11^3  = 2^3 + 2^3 + 6^3 + 6^3 + 11^3  = 2^3 + 3^3 + 3^3 + 9^3 + 10^3  = 3^3 + 5^3 + 8^3 + 8^3 + 8^3  = 3^3 + 4^3 + 7^3 + 8^3 + 9^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, 5):
        tot = sum(pos)
        keep[tot] += 1
    rets = sorted([k for k, v in keep.items() if v == 6])
    for x in range(len(rets)):
        print(rets[x])

A345767 Numbers that are the sum of six cubes in exactly five ways.

Original entry on oeis.org

1045, 1169, 1241, 1260, 1384, 1432, 1440, 1495, 1530, 1539, 1549, 1556, 1558, 1584, 1594, 1602, 1612, 1617, 1640, 1654, 1657, 1675, 1703, 1712, 1715, 1719, 1729, 1736, 1745, 1747, 1754, 1771, 1780, 1792, 1801, 1803, 1806, 1810, 1818, 1825, 1827, 1834, 1843
Offset: 1

Views

Author

David Consiglio, Jr., Jun 26 2021

Keywords

Comments

Differs from A345514 at term 5 because 1377 = 1^3 + 1^3 + 2^3 + 7^3 + 8^3 + 8^3 = 1^3 + 1^3 + 5^3 + 5^3 + 5^3 + 10^3 = 1^3 + 2^3 + 3^3 + 5^3 + 6^3 + 10^3 = 1^3 + 6^3 + 6^3 + 6^3 + 6^3 + 8^3 = 3^3 + 3^3 + 5^3 + 7^3 + 7^3 + 8^3 = 3^3 + 4^3 + 5^3 + 6^3 + 6^3 + 9^3.

Examples

			1169 is a term because 1169 = 1^3 + 2^3 + 2^3 + 3^3 + 4^3 + 9^3 = 1^3 + 2^3 + 5^3 + 5^3 + 5^3 + 7^3 = 1^3 + 3^3 + 4^3 + 4^3 + 4^3 + 8^3 = 2^3 + 3^3 + 3^3 + 4^3 + 5^3 + 8^3 = 3^3 + 3^3 + 3^3 + 3^3 + 7^3 + 7^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, 6):
        tot = sum(pos)
        keep[tot] += 1
        rets = sorted([k for k, v in keep.items() if v == 5])
        for x in range(len(rets)):
            print(rets[x])
Showing 1-6 of 6 results.