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.

Previous Showing 11-17 of 17 results.

A347773 Square array read by antidiagonals downwards: T(n,k) is the smallest positive integer whose n-th power is the sum of k n-th powers of positive integers, or 0 if no such number exists.

Original entry on oeis.org

1, 2, 1, 3, 5, 1, 4, 3, 0, 1, 5, 2, 6, 0, 1, 6, 4, 7, 422481, 0, 1, 7, 3, 4, 353
Offset: 1

Views

Author

Eric Chen, Sep 15 2021

Keywords

Comments

a(26) = T(5,3) is conjectured to be 0, but this has not been proved.
By Fermat's last theorem, T(n,2) = 0 for n > 2.
Euler's sum of powers conjecture is that T(n,k) = 0 for n > k > 1, but this conjecture is not true: T(4,3) = 422481, T(5,4) = 144, there are no known counterexamples for n >= 6.
There are no known 0s for k > 2.
Conjecture: If T(n,k) = 0, then T(r,k) = T(n,s) = T(r,s) = 0 for all r >= n, 2 <= s <= k.

Examples

			Table begins:
  n\k |  1   2       3    4   5   6     7     8
  ----+----------------------------------------
   1  |  1   2       3    4   5   6     7     8
   2  |  1   5       3    2   4   3     4     4
   3  |  1   0       6    7   4   3     5     2
   4  |  1   0  422481  353   5   3     9    13
   5  |  1   0       ?  144  72  12    23    14
   6  |  1   0       ?    ?   ?   ?  1141   251
   7  |  1   0       ?    ?   ?   ?   568   102
   8  |  1   0       ?    ?   ?   ?     ?  1409
T(2,5) = 4 because 4^2 = 1^2 + 1^2 + 1^2 + 2^2 + 3^2 and there is no smaller square that is the sum of 5 positive squares.
T(4,3) = 422481 because 422481^4 = 95800^4 + 217519^4 + 414560^4 and there is no smaller 4th power that is the sum of 3 positive 4th powers.
T(7,7) = 568 because 568^7 = 127^7 + 258^7 + 266^7 + 413^7 + 430^7 + 439^7 + 525^7 and there is no smaller 7th power that is the sum of 7 positive 7th powers.
		

Crossrefs

Cf. A007666 (main diagonal), A264764 (subdiagonal for k = n-1).
Cf. A175610 and A003828 (both for a(19) = T(4,3) = 422481).
Cf. A003294 and A039664 (both for a(25) = T(4,4) = 353).
Cf. A134341 (for a(33) = T(5,4) = 144).
Cf. A063922 and A063923 (both for a(41) = T(5,5) = 72).
Cf. A130012, A130022 (these two sequences are not rows of this table, since they require DISTINCT n-th powers, but this table does not have that requirement).

Programs

  • PARI
    /* return 0 instead of 1 for n=1, and oo loop when T(n, k)=0 */ A347773(p, n, s, m)={ /* Check whether s can be written as sum of n positive p-th powers not larger than m^p. If so, return the base a of the largest term a^p. */ s>n*m^p && return; n==1&&return(ispower(s, p, &n)*n); /* if s and m are not given, s>=n and m are arbitrary. */ !s&&for(m=round(sqrtn(n, p)), 9e9, A347773(p, n, m^p, m-1)&&return(m)); for(a=ceil(sqrtn(s\n, p)), min(sqrtn(max(0, s-n+1), p), m), A347773(p, n-1, s-a^p, a)&&return(a)); } /* after M. F. Hasler in A007666 */ /* Just enter "A347773(n, k)" to get T(n, k) */

Formula

T(n,1) = 1.
T(1,k) = k.
T(n,2) = 0 for n > 2.
T(n,n) = A007666(n).
T(n,n-1) = A264764(n).
T(3,k) <= A130012(k).
T(4,k) <= A130022(k).

A138760 Numbers n such that n^4 is a sum of 4th powers of four nonzero integers whose sum is n.

Original entry on oeis.org

5491, 10982, 16473, 21964, 27455, 32946, 38437, 43928, 49419, 51361, 54910, 60401, 65892, 71383, 76874, 82365, 87856, 93347, 98838, 102722, 104329, 109820, 115311, 120802, 126293, 131784, 137275, 142766, 148257, 153748, 154083, 159239, 164730
Offset: 1

Views

Author

Jonathan Sondow, Mar 28 2008

Keywords

Comments

Any multiple of a member is also a member. A member that is not a multiple of another member is called primitive. Using elliptic curves, Jacobi and Madden prove that there are infinitely many primitive members. According to them, the only primitive members less than 222,000 are 5491 (due to Brudno) and 51361 (due to Wroblewski).

Examples

			5491^4 = 5400^4 + (-2634)^4 + 1770^4 + 955^4 and 5491 = 5400 - 2634 + 1770 + 955, so 5491 is a member (Brudno).
51361^4 = 48150^4 + (-31764)^4 + 27385^4 + 7590^4 and 51361 = 48150 - 31764 + 27385 + 7590, so 51361 is a member (Wroblewski).
1347505009^4 = 1338058950^4 + (-89913570)^4 + 504106884^4 + (-404747255)^4, and 1347505009 = 1338058950 - 89913570 + 504106884 - 404747255, so 1347505009 is a member (Jacobi-Madden).
		

Crossrefs

Formula

n^4 = a^4 + b^4 + c^4 + d^4 = (a+b+c+d)^4 with abcd =/= 0.

A301601 Numbers k such that k^6 can be written as a sum of 11 positive 6th powers.

Original entry on oeis.org

18, 19, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93
Offset: 1

Views

Author

Seiichi Manyama, Mar 24 2018

Keywords

Comments

If k is in the sequence, then k*m is in the sequence for every positive integer m.
Conjecture: 35 is the largest integer not in the sequence. - Jon E. Schoenfield, Mar 24 2018

Examples

			18^6 = 2^6 + 5^6 + 5^6 +  5^6 +  7^6 +  7^6 +  9^6 +  9^6 + 10^6 + 14^6 + 17^6.
19^6 = 1^6 + 7^6 + 7^6 +  7^6 +  8^6 + 12^6 + 13^6 + 13^6 + 13^6 + 13^6 + 17^6.
30^6 = 1^6 + 2^6 + 7^6 +  7^6 +  9^6 + 12^6 + 17^6 + 17^6 + 19^6 + 23^6 + 28^6.
31^6 = 3^6 + 4^6 + 7^6 +  7^6 + 11^6 + 11^6 + 13^6 + 13^6 + 23^6 + 25^6 + 28^6.
32^6 = 7^6 + 7^6 + 7^6 + 17^6 + 17^6 + 17^6 + 18^6 + 20^6 + 20^6 + 25^6 + 29^6.
33^6 = 1^6 + 4^6 + 4^6 +  6^6 + 10^6 + 14^6 + 20^6 + 20^6 + 24^6 + 28^6 + 28^6.
34^6 = 1^6 + 1^6 + 2^6 +  5^6 +  7^6 +  7^6 + 12^6 + 17^6 + 23^6 + 28^6 + 31^6.
36^6 = 1^6 + 1^6 + 1^6 +  7^6 + 14^6 + 14^6 + 19^6 + 19^6 + 19^6 + 30^6 + 33^6.
		

Crossrefs

Extensions

a(9)-a(65) from Jon E. Schoenfield, Mar 24 2018

A331674 Numbers k such that k^5 = a^5 + b^5 + c^5 + d^5 + e^5 has at least two primitive solutions in nonnegative integers.

Original entry on oeis.org

744, 1686, 1921, 2087, 3447, 4097, 6065, 7157, 7864, 8570
Offset: 1

Views

Author

Jianing Song, Jan 24 2020

Keywords

Comments

Primitive solutions means gcd(a,b,c,d,e) = 1.
These are all terms from James Waldby link, which gives all solutions to k^5 = a^5 + b^5 + c^5 + d^5 + e^5 where k < 10000, gcd(a,b,c,d,e) = 1 and at least two of a,b,c,d,e are nonzero.
Note that if nonprimitive solutions were allowed (where at least two of a,b,c,d,e are nonzero), then 144 would be a term because 144^5 = 0^5 + 27^5 + 84^5 + 110^5 + 133^5 = 38^5 + 86^5 + 92^5 + 94^5 + 134^5.

Examples

			Solutions to k^5 = a^5 + b^5 + c^5 + d^5 + e^5 = a'^5 + b'^5 + c'^5 + d'^5 + e'^5:
744: (100, 210, 414, 629, 651), (14, 95, 545, 586, 644);
1686: (265, 486, 784, 791, 1670), (46, 591, 675, 999, 1655);
1921: (275, 351, 872, 1298, 1855), (95, 771, 1020, 1519, 1756);
2087: (145, 565, 1105, 1462, 1990), (519, 642, 1026, 1480, 1990);
3447: (1212, 1300, 1345, 1699, 3411), (289, 317, 1033, 1682, 3426);
4097: (1281, 2154, 2396, 3462, 3504), (954, 1989, 2127, 2396, 3981);
6065: (3629, 3811, 4070, 4272, 5313), (854, 3160, 3752, 5073, 5196);
7157: (1827, 2186, 4789, 5629, 6376), (930, 2746, 3570, 5109, 6802);
7864: (1093, 2309, 3629, 6137, 7296), (312, 1631, 3418, 3544, 7809);
8570: (1766, 2529, 4086, 5520, 8319), (2101, 2315, 2710, 3960, 8524).
		

Crossrefs

Subsequence of A063923 (and thus of A063922).
Other similar sequences:
A023041 (k^3=a^3+b^3+c^3, gcd(a,b,c)=1);
A003828 (k^4=a^4+b^4+c^4, gcd(a,b,c)=1);
A175610 (k^4=a^4+b^4+c^4);
A039664 (k^4=a^4+b^4+c^4+d^4, gcd(a,b,c,d)=1);
A003294 (k^4=a^4+b^4+c^4+d^4);
A331675 (k^4=a^4+b^4+c^4+d^4, gcd(a,b,c,d)=1, at least two solutions).
A134341 (k^5=a^5+b^5+c^5+d^5).

A140834 Primes that are the sum of at most four nonzero 4th powers.

Original entry on oeis.org

2, 3, 17, 19, 83, 97, 113, 163, 179, 257, 337, 353, 419, 499, 593, 641, 643, 673, 769, 787, 881, 883, 1153, 1297, 1409, 1459, 1553, 1889, 2003, 2083, 2131, 2417, 2579, 2593, 2609, 2657, 2659, 2689, 2819, 3169, 3217, 3697, 3779, 3889, 3907, 4099, 4129, 4177
Offset: 1

Views

Author

Jonathan Vos Post, Jul 18 2008

Keywords

Comments

This sequence was checked by T. D. Noe, who had supplied the b-list for A004833. A037896 is a subset of {Primes that are the sum of at exactly 2 nonzero 4th powers}, itself a subset of A002645 Quartan primes: primes of the form x^4 + y^4, x>0, y>0.

Crossrefs

Formula

A000040 INTERSECTION A004833. {A133740 = Primes that are the sum of at exactly 4 nonzero 4th powers} UNION {A085318 = Primes that are the sum of at exactly 3 nonzero 4th powers} UNION {A002645 = Primes that are the sum of at exactly 2 nonzero 4th powers}.

Extensions

Missing term 353 inserted by Georg Fischer, May 11 2024

A178096 Cube of n is equal to sum of four positive distinct squares; n^3=a^2+b^2+c^2+d^2; a>b>c>d>0.

Original entry on oeis.org

5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 57
Offset: 1

Views

Author

Keywords

Comments

5^3=8^2+6^2+4^2+3^2, 6^3=10^2+8^2+6^2+4^2, ...

Crossrefs

Programs

  • Mathematica
    z=100;lst={};Do[a2=a^2;Do[b2=b^2;Do[c2=c^2;Do[d2=d^2;e2=a2+b2+c2+d2;e=e2^(1/3);If[IntegerQ[e],AppendTo[lst,e]],{d,c-1,1,-1}],{c,b-1,1,-1}],{b,a-1,1,-1}],{a,1,z}];Union@lst

Formula

{n: n^3 in A004433}. - R. J. Mathar, Jun 15 2018

Extensions

Terms > 33 from R. J. Mathar, Jun 15 2018

A360382 Least integer m whose n-th power can be written as a sum of four distinct positive n-th powers.

Original entry on oeis.org

10, 9, 13, 353, 144
Offset: 1

Views

Author

Zhining Yang, Feb 04 2023

Keywords

Examples

			a(3) = 13 because 13^3 = 1^3 + 5^3 + 7^3 + 12^3 and no smaller cube may be written as the sum of 4 positive distinct cubes.
Terms in this sequence and their representations are:
  10^1 = 1 + 2 + 3 + 4.
  9^2 = 2^2 + 4^2 + 5^2 + 6^2.
  13^3 = 1^3 + 5^3 + 7^3 + 12^3.
  353^4 = 30^4 + 120^4 + 272^4 + 315^4.
  144^5 = 27^5 + 84^5 + 110^5 + 133^5.
		

Crossrefs

Programs

  • Mathematica
    n = 5; SelectFirst[
     Range[200], (s =
        IntegerPartitions[#^n, {4, 4}, Range[1, # - 1]^n]^(1/n); (Select[
          s, #[[1]] > #[[2]] > #[[3]] > #[[4]] > 0 &] != {})) &]
  • Python
    def s(n):
        p=[k**n for k in range(360)]
        for k in range(4,360):
            for d in range(k-1,3,-1):
                if 4*p[d]>p[k]:
                    cc=p[k]-p[d]
                    for c in range(d-1,2,-1):
                        if 3*p[c]>cc:
                            bb=cc-p[c]
                            for b in range(c-1,1,-1):
                               if 2*p[b]>bb:
                                   aa=bb-p[b]
                                   if aa>0 and aa in p:
                                       a=round(aa**(1/n))
                                       return(n,k,[a,b,c,d])
    for n in range(1,6):
        print(s(n))

Formula

a(n) = Minimum(m) such that m^n = a^n + b^n + c^n + d^n and 0 < a < b < c < d < m.
Previous Showing 11-17 of 17 results.