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

A025332 Numbers that are the sum of 3 nonzero squares in 4 or more ways.

Original entry on oeis.org

129, 134, 146, 153, 161, 171, 189, 194, 198, 201, 206, 209, 230, 234, 243, 246, 249, 251, 254, 257, 261, 266, 269, 270, 278, 281, 285, 290, 293, 294, 297, 299, 306, 314, 321, 326, 329, 339, 341, 342, 350, 353, 354, 362, 363, 365, 369, 371, 374, 378, 381, 386, 387, 389
Offset: 1

Views

Author

Keywords

Crossrefs

A025398 Numbers that are the sum of 3 positive cubes in 3 or more ways.

Original entry on oeis.org

5104, 9729, 12104, 12221, 12384, 13896, 14175, 17604, 17928, 19034, 20691, 21412, 21888, 24480, 28792, 29457, 30528, 31221, 32850, 34497, 35216, 36288, 38259, 39339, 39376, 40041, 40060, 40097, 40832, 40851, 41033, 41040, 41364, 41966, 42056, 42687
Offset: 1

Views

Author

Keywords

Examples

			a(1) = A230477(3) = 5104 = 1^3 + 12^3 + 15^3 = 2^3 + 10^3 + 16^3 = 9^3 + 10^3 + 15^3. - _Jonathan Sondow_, Oct 24 2013
		

Crossrefs

Programs

  • Mathematica
    Select[ Range[ 50000], 2 < Length @ Cases[ PowersRepresentations[#, 3, 3], {?Positive, ?Positive, A008917%20by%20_Jonathan%20Sondow">?Positive}] &] (* adapted from Alcover's program for A008917 by _Jonathan Sondow, Oct 24 2013 *)
  • PARI
    is(n)=k=ceil((n-2)^(1/3)); d=0; for(a=1,k,for(b=a,k,for(c=b,k,if(a^3+b^3+c^3==n,d++))));d
    n=3;while(n<50000,if(is(n)>=3,print1(n,", "));n++) \\ Derek Orr, Aug 27 2015

Formula

A008917(n) < a(n) <= A025397(n). - Jonathan Sondow, Oct 24 2013
{n: A025456(n) >= 3}. - R. J. Mathar, Jun 15 2018

A023051 Numbers that are the sum of two positive cubes in at least four ways (all solutions).

Original entry on oeis.org

6963472309248, 12625136269928, 21131226514944, 26059452841000, 55707778473984, 74213505639000, 95773976104625, 101001090159424, 159380205560856, 169049812119552, 174396242861568, 188013752349696
Offset: 1

Views

Author

David W. Wilson (revised Oct 15 1997)

Keywords

References

  • R. K. Guy, Unsolved Problems in Number Theory, D1.

Crossrefs

Extensions

b-file extended by Ray Chandler, Jan 19 2009

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

Original entry on oeis.org

161568, 262683, 314712, 326808, 359568, 443197, 444536, 471960, 503208, 513729, 515376, 526023, 529199, 532683, 552824, 597960, 702729, 736371, 746992, 806688, 844416, 863379, 907479, 924048, 931419, 975213, 1011067, 1028663, 1062937, 1092853, 1152152, 1172016, 1211048, 1232496, 1258011
Offset: 1

Views

Author

David Consiglio, Jr., May 05 2021

Keywords

Examples

			314712 =  4^3 +  6^3 + 68^3
       =  5^3 + 24^3 + 67^3
       =  6^3 + 30^3 + 66^3
       = 31^3 + 41^3 + 60^3
       = 36^3 + 48^3 + 54^3
so 314712 is a term of this sequence.
		

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

A343971 Numbers that are the sum of four positive cubes in four or more ways.

Original entry on oeis.org

1979, 2737, 3663, 4384, 4445, 4474, 4949, 5105, 5131, 5257, 5320, 5473, 5499, 5553, 5616, 5733, 5768, 5833, 5852, 5859, 6064, 6104, 6328, 6372, 6435, 6587, 6643, 6832, 6883, 6912, 6974, 7000, 7030, 7120, 7217, 7371, 7560, 7686, 7777, 7840, 8099, 8108, 8281, 8316, 8344, 8379, 8414, 8505, 8568, 8927, 9016, 9018
Offset: 1

Views

Author

David Consiglio, Jr., May 05 2021

Keywords

Examples

			3663 = 1^3 + 10^3 + 11^3 + 11^3
     = 2^3 +  4^3 +  6^3 + 15^3
     = 2^3 +  9^3 +  9^3 + 13^3
     = 4^3 +  7^3 +  8^3 + 14^3
so 3663 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,4):
        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])

A343969 Numbers that are the sum of three positive cubes in exactly 4 ways.

Original entry on oeis.org

13896, 40041, 44946, 52200, 53136, 58995, 76168, 82278, 93339, 94184, 105552, 110683, 111168, 112384, 112832, 113400, 143424, 149416, 149904, 167616, 169560, 171296, 175104, 196776, 197569, 208144, 216126, 221696, 222984, 224505, 235808, 240813, 252062, 255312, 262781, 266031, 281728, 291213
Offset: 1

Views

Author

David Consiglio, Jr., May 05 2021

Keywords

Comments

Differs from A343968 at term 20 because 161568 = 2^3 + 16^3 + 54^3 = 9^3 + 15^3 + 54^3 = 17^3 + 39^3 + 46^3 = 18^3 + 19^3 + 53^3 = 26^3 + 36^3 + 46^3.

Examples

			44946 is a term because 44946 = 7^3 + 12^3 + 35^3 = 9^3 + 17^3 + 34^3 = 11^3 + 24^3 + 31^3 = 16^3 + 17^3 + 33^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,3):
        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])

A344277 Numbers that are the sum of three fourth powers in four or more ways.

Original entry on oeis.org

5978882, 15916082, 20621042, 22673378, 30623138, 33998258, 39765362, 48432482, 53809938, 61627202, 65413922, 74346818, 84942578, 88258898, 95662112, 103363442, 117259298, 128929682, 131641538, 137149922, 143244738, 155831858, 158811842, 167042642, 174135122, 175706258, 188529362
Offset: 1

Views

Author

David Consiglio, Jr., May 13 2021

Keywords

Examples

			20621042 is a member of this sequence because 20621042 = 5^4 + 54^4 + 59^4 = 10^4 + 51^4 + 61^4 = 25^4 + 46^4 + 63^4 = 26^4 + 39^4 + 65^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,3):
        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])

A347362 Smallest number which can be decomposed into exactly n sums of three distinct positive cubes, but cannot be decomposed into more than one such sum containing the same cube.

Original entry on oeis.org

36, 1009, 12384, 82278, 746992, 5401404, 15685704, 26936064, 137763072, 251066304, 857520000, 618817536, 3032856000, 2050677000, 6100691904, 36013192704, 16405416000, 96569712000, 48805535232, 131243328000, 611996202000, 201153672000
Offset: 1

Views

Author

Gleb Ivanov, Aug 29 2021

Keywords

Comments

No cube should appear in two or more sums. 5104 = 15^3 + 10^3 + 9^3 = 15^3 + 12^3 + 1^3 = 16^3 + 10^3 + 2^3 is not a(3), because 15^3 appears in more than one sum.

Examples

			a(1) = 36 = 1^3 + 2^3 + 3^3.
a(2) = 1009 = 1^3 + 2^3 + 10^3 = 4^3 + 6^3 + 9^3.
a(3) = 12384 = 1^3 + 6^3 + 23^3 = 2^3 + 12^3 + 22^3 = 15^3 + 16^3 + 17^3.
		

Crossrefs

Programs

  • Mathematica
    Monitor[Do[k=1;While[Length@Union@Flatten[p=PowersRepresentations[k,3,3]]!=n*3||Length@p!=n||MemberQ[Flatten@p,0],k++];Print@k,{n,10}],k] (* Giorgos Kalogeropoulos, Sep 03 2021 *)

Extensions

a(13)-a(15) from Jon E. Schoenfield, Sep 02 2021
a(16)-a(22) from Gleb Ivanov, Sep 12 2021
Showing 1-8 of 8 results.