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.

A025336 Numbers that are the sum of 3 nonzero squares in 8 or more ways.

Original entry on oeis.org

374, 446, 486, 521, 566, 569, 594, 614, 621, 626, 629, 686, 689, 701, 710, 729, 734, 749, 761, 770, 774, 789, 794, 801, 809, 810, 825, 846, 849, 854, 857, 866, 869, 881, 902, 909, 914, 926, 929, 941, 945, 950, 953, 965, 969, 971, 974, 986, 989, 990, 1001, 1014, 1022
Offset: 1

Views

Author

Keywords

Crossrefs

A345152 Numbers that are the sum of four third powers in eight or more ways.

Original entry on oeis.org

21896, 27720, 30429, 31339, 31402, 33579, 34624, 34776, 36162, 36225, 40105, 42120, 42695, 44037, 44163, 44226, 44947, 45162, 45675, 46277, 46683, 46872, 46900, 47600, 48321, 48825, 49042, 50112, 50689, 50806, 50904, 51058, 51408, 51480, 51506, 51597, 51688
Offset: 1

Views

Author

David Consiglio, Jr., Jun 09 2021

Keywords

Examples

			30429 is a term because 30429 = 1^3 + 4^3 + 7^3 + 30^3  = 1^3 + 16^3 + 17^3 + 26^3  = 2^3 + 12^3 + 21^3 + 25^3  = 3^3 + 3^3 + 14^3 + 29^3  = 4^3 + 17^3 + 21^3 + 23^3  = 5^3 + 11^3 + 15^3 + 28^3  = 6^3 + 6^3 + 22^3 + 25^3  = 7^3 + 14^3 + 18^3 + 26^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, 4):
        tot = sum(pos)
        keep[tot] += 1
    rets = sorted([k for k, v in keep.items() if v >= 8])
    for x in range(len(rets)):
        print(rets[x])

A025372 Numbers that are the sum of 4 nonzero squares in 7 or more ways.

Original entry on oeis.org

130, 135, 138, 148, 150, 154, 162, 170, 172, 175, 178, 180, 182, 183, 186, 187, 189, 190, 195, 196, 198, 199, 202, 207, 210, 213, 214, 215, 217, 218, 220, 222, 223, 225, 226, 228, 229, 230, 231, 234, 235, 237, 238, 242, 243, 244, 245, 246, 247, 250, 252, 253, 255, 258
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Maple
    N:= 1000: # for terms <= N
    B:= Vector(N):
    for i from 1 while 4*i^2 <= N do
      for j from i while i^2 + 3*j^2 <= N do
        for k from j while i^2 + j^2 + 2*k^2 <= N do
          for l from k do
            m:= i^2 + j^2 + k^2 + l^2;
            if m > N then break fi;
            B[m]:= B[m]+1
    od od od od:
    select(t -> B[t] >= 7, [$1..N]); # Robert Israel, Oct 23 2020

Formula

{n: A025428(n) >= 7}. - R. J. Mathar, Jun 15 2018

A025374 Numbers that are the sum of 4 nonzero squares in 9 or more ways.

Original entry on oeis.org

162, 178, 198, 202, 207, 210, 220, 223, 225, 226, 231, 234, 242, 243, 246, 247, 250, 252, 253, 255, 258, 262, 265, 266, 267, 268, 270, 271, 273, 274, 278, 279, 282, 283, 285, 286, 287, 290, 291, 292, 294, 295, 297, 298, 300, 301, 303, 306, 307, 309, 310, 313, 314, 315
Offset: 1

Views

Author

Keywords

Crossrefs

Formula

{n: A025428(n) >= 9}. - R. J. Mathar, Jun 15 2018

A344801 Numbers that are the sum of five squares in eight or more ways.

Original entry on oeis.org

91, 101, 104, 106, 107, 109, 112, 115, 116, 118, 119, 122, 123, 125, 126, 127, 128, 131, 133, 134, 136, 139, 140, 141, 142, 143, 144, 146, 147, 148, 149, 151, 152, 154, 155, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173
Offset: 1

Views

Author

Sean A. Irvine, May 29 2021

Keywords

Crossrefs

A025392 Numbers that are the sum of 4 distinct nonzero squares in 8 or more ways.

Original entry on oeis.org

210, 222, 238, 246, 270, 282, 286, 294, 302, 306, 310, 315, 318, 330, 334, 338, 342, 345, 350, 351, 354, 357, 363, 366, 370, 374, 375, 378, 382, 386, 387, 390, 393, 394, 398, 399, 402, 405, 406, 407, 410, 411, 414, 415, 417, 420, 422, 423, 426, 429, 430, 431, 434, 435
Offset: 1

Views

Author

Keywords

Crossrefs

Formula

{n: A025443(n) >= 8}. - R. J. Mathar, Jun 15 2018
Showing 1-6 of 6 results.