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-5 of 5 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])

A025370 Numbers that are the sum of 4 nonzero squares in 5 or more ways.

Original entry on oeis.org

82, 90, 100, 102, 103, 106, 108, 111, 114, 115, 117, 118, 122, 124, 126, 127, 130, 132, 133, 135, 138, 143, 145, 147, 148, 150, 151, 153, 154, 156, 157, 159, 162, 163, 165, 166, 167, 169, 170, 171, 172, 174, 175, 177, 178, 180, 181, 182, 183, 186, 187, 188, 189, 190
Offset: 1

Views

Author

Keywords

Crossrefs

Formula

{n: A025428(n) >= 5}. Union of A025371 and A025361. - R. J. Mathar, Jun 15 2018

A344797 Numbers that are the sum of five squares in four or more ways.

Original entry on oeis.org

53, 56, 59, 61, 62, 64, 67, 68, 70, 71, 72, 74, 75, 76, 77, 79, 80, 82, 83, 84, 85, 86, 88, 89, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126
Offset: 1

Views

Author

Sean A. Irvine, May 28 2021

Keywords

Crossrefs

A344799 Numbers that are the sum of five squares in six or more ways.

Original entry on oeis.org

77, 80, 83, 85, 86, 88, 91, 92, 94, 98, 99, 100, 101, 103, 104, 106, 107, 109, 110, 112, 113, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149
Offset: 1

Views

Author

Sean A. Irvine, May 28 2021

Keywords

Crossrefs

A344809 Numbers that are the sum of six squares in five or more ways.

Original entry on oeis.org

54, 57, 60, 62, 63, 65, 66, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120
Offset: 1

Views

Author

David Consiglio, Jr., Jun 20 2021

Keywords

Examples

			57 = 1^2 + 1^2 + 1^2 + 1^2 + 2^2 + 7^2
   = 1^2 + 1^2 + 1^2 + 2^2 + 5^2 + 5^2
   = 1^2 + 1^2 + 1^2 + 3^2 + 3^2 + 6^2
   = 1^2 + 2^2 + 2^2 + 4^2 + 4^2 + 4^2
   = 1^2 + 2^2 + 3^2 + 3^2 + 3^2 + 5^2
   = 2^2 + 2^2 + 2^2 + 2^2 + 4^2 + 5^2
so 57 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**2 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-5 of 5 results.