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.

A003352 Numbers that are the sum of 7 positive 5th powers.

Original entry on oeis.org

7, 38, 69, 100, 131, 162, 193, 224, 249, 280, 311, 342, 373, 404, 435, 491, 522, 553, 584, 615, 646, 733, 764, 795, 826, 857, 975, 1006, 1030, 1037, 1061, 1068, 1092, 1123, 1154, 1185, 1216, 1217, 1248, 1272
Offset: 1

Views

Author

Keywords

Examples

			From _David A. Corneth_, Aug 03 2020: (Start)
41940 is in the sequence as 41940 = 2^5 + 2^5 + 3^5 + 3^5 + 6^5 + 7^5 + 7^5.
65614 is in the sequence as 65614 = 1^5 + 3^5 + 3^5 + 6^5 + 6^5 + 7^5 + 8^5.
96845 is in the sequence as 96845 = 1^5 + 2^5 + 4^5 + 5^5 + 7^5 + 7^5 + 9^5. (End)
		

Crossrefs

Extensions

Incorrect program removed by David A. Corneth, Aug 03 2020

A345568 Numbers that are the sum of seven fourth powers in two or more ways.

Original entry on oeis.org

262, 277, 292, 307, 342, 357, 372, 422, 437, 502, 517, 532, 547, 597, 612, 677, 772, 787, 852, 886, 901, 916, 966, 981, 1027, 1046, 1141, 1156, 1221, 1362, 1377, 1396, 1442, 1510, 1525, 1557, 1572, 1587, 1590, 1617, 1637, 1652, 1717, 1765, 1812, 1827, 1892
Offset: 1

Views

Author

David Consiglio, Jr., Jun 20 2021

Keywords

Examples

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

A345507 Numbers that are the sum of six fifth powers in two or more ways.

Original entry on oeis.org

4098, 4129, 4340, 5121, 7222, 11873, 20904, 36865, 51447, 51478, 51509, 51689, 51720, 51931, 52470, 52501, 52712, 53493, 54571, 54602, 54813, 55594, 57695, 59222, 59253, 59464, 60245, 62346, 63146, 66997, 67586, 68253, 68284, 68495, 68906, 68937, 69148, 69276
Offset: 1

Views

Author

David Consiglio, Jr., Jun 20 2021

Keywords

Examples

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

Crossrefs

Programs

  • Python
    from itertools import combinations_with_replacement as cwr
    from collections import defaultdict
    keep = defaultdict(lambda: 0)
    power_terms = [x**5 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])

A345606 Numbers that are the sum of seven fifth powers in three or more ways.

Original entry on oeis.org

84457, 166997, 324860, 326199, 358482, 359327, 391007, 391999, 408158, 455146, 455749, 486468, 502429, 572054, 595519, 614505, 622280, 648319, 671210, 672022, 696468, 696499, 696710, 697491, 699592, 704243, 713274, 729235, 755516, 796467, 857518, 877645
Offset: 1

Views

Author

David Consiglio, Jr., Jun 20 2021

Keywords

Examples

			166997 is a term because 166997 = 2^5 + 5^5 + 8^5 + 8^5 + 8^5 + 8^5 + 8^5 = 4^5 + 6^5 + 6^5 + 7^5 + 7^5 + 7^5 + 10^5 = 5^5 + 6^5 + 6^5 + 6^5 + 6^5 + 8^5 + 10^5.
		

Crossrefs

Programs

  • Python
    from itertools import combinations_with_replacement as cwr
    from collections import defaultdict
    keep = defaultdict(lambda: 0)
    power_terms = [x**5 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])

A345610 Numbers that are the sum of eight fifth powers in two or more ways.

Original entry on oeis.org

4100, 4131, 4162, 4193, 4342, 4373, 4404, 4584, 4615, 4826, 5123, 5154, 5185, 5365, 5396, 5607, 6146, 6177, 6388, 7169, 7224, 7255, 7286, 7466, 7497, 7708, 8247, 8278, 8489, 9270, 10348, 10379, 10590, 11371, 11875, 11906, 11937, 12117, 12148, 12359, 12898
Offset: 1

Views

Author

David Consiglio, Jr., Jun 20 2021

Keywords

Examples

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

Crossrefs

Programs

  • Python
    from itertools import combinations_with_replacement as cwr
    from collections import defaultdict
    keep = defaultdict(lambda: 0)
    power_terms = [x**5 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])

A346279 Numbers that are the sum of seven fifth powers in exactly two ways.

Original entry on oeis.org

4099, 4130, 4161, 4341, 4372, 4583, 5122, 5153, 5364, 6145, 7223, 7254, 7465, 8246, 10347, 11874, 11905, 12116, 12897, 14998, 19649, 20905, 20936, 21147, 21928, 24029, 28680, 36866, 36897, 37108, 37711, 37889, 39990, 40138, 44641, 51393, 51448, 51479, 51510
Offset: 1

Views

Author

David Consiglio, Jr., Jul 13 2021

Keywords

Comments

Differs from A345605 at term 156 because 84457 = 2^5 + 4^5 + 4^5 + 6^5 + 6^5 + 6^5 + 9^5 = 1^5 + 3^5 + 5^5 + 6^5 + 6^5 + 8^5 + 8^5 = 1^5 + 3^5 + 4^5 + 7^5 + 7^5 + 7^5 + 8^5.

Examples

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

Crossrefs

Programs

  • Python
    from itertools import combinations_with_replacement as cwr
    from collections import defaultdict
    keep = defaultdict(lambda: 0)
    power_terms = [x**5 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 == 2])
        for x in range(len(rets)):
            print(rets[x])
Showing 1-6 of 6 results.