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.

A064177 Erroneous version of A007666.

Original entry on oeis.org

1, 5, 6, 353, 72, 1141
Offset: 1

Views

Author

Keywords

A063922 Numbers k such that k^5 = a^5 + b^5 + c^5 + d^5 + e^5 has a nontrivial solution in nonnegative integers.

Original entry on oeis.org

72, 94, 107, 144, 188, 214, 216, 282, 288, 321, 360, 365, 376, 415, 427, 428, 432, 435, 470, 480, 503, 504, 530, 535, 553, 564, 575, 576, 642, 648, 650, 658, 700, 703, 716, 720, 729, 730, 744, 749, 752, 764, 792, 804, 830, 846, 848, 851, 854, 856, 864, 870
Offset: 1

Views

Author

David W. Wilson, Aug 31 2001

Keywords

Comments

Any multiple of a term is again a term of this sequence. See A063923 for the primitive solutions. See A007666 for similar solutions for other powers. - M. F. Hasler, Nov 17 2015
Nontrivial means at least two of a,b,c,d,e are nonzero. - Jianing Song, Jan 24 2020

Examples

			   72^5 = 19^5 + 43^5 + 46^5 + 47^5 +  67^5;
   94^5 = 21^5 + 23^5 + 37^5 + 79^5 +  84^5;
  107^5 =  7^5 + 43^5 + 57^5 + 80^5 + 100^5.
		

Crossrefs

Cf. A063923.
For fourth powers: A003828, A175610, A039664, A003294.

A130022 Smallest natural number whose 4th power is the sum of n 4th powers of distinct natural numbers, or 0 if no such number exists.

Original entry on oeis.org

1, 0, 422481, 353, 15, 35, 25, 31, 37, 41, 35, 43, 39, 43, 47, 53, 55, 50, 50, 46, 48, 48, 50, 48, 50, 48, 52, 53, 55, 56, 54, 58, 58, 63, 65, 67, 70, 71, 73, 77, 81, 85, 87, 91, 93, 97, 101
Offset: 1

Views

Author

J. Lowell, Jun 15 2007

Keywords

Crossrefs

Cf. a(3) A003828, a(4) A096739, 3rd powers A130012, n-th powers A007666.

Extensions

More terms from Martin Fuller, Jul 06 2007

A061988 Find smallest k such that k^n is a sum of n n-th powers, say k^n = T(n,1)^n + ... + T(n,n)^n. Sequence gives triangle of successive rows T(n,1), ..., T(n,n). T(n,1) = ... = T(n,n) = 0 indicates no solution exists.

Original entry on oeis.org

1, 3, 4, 3, 4, 5, 30, 120, 272, 315, 19, 43, 46, 47, 67
Offset: 1

Views

Author

Frank Ellermann, May 26 2001

Keywords

Examples

			Rows: (1), (3, 4), (3, 4, 5), (30, 120, 272, 315), (19, 43, 46, 47, 67), ...
		

References

  • G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, 5th ed., Oxford Univ. Press, 1979, equation 21.11.2
  • David Wells, The Penguin Dictionary of Curious and Interesting Numbers, Penguin Books, NY, 1986, p. 164.

Crossrefs

A007666 gives values of k.

Extensions

Corrected by Vladeta Jovovic, May 29 2001
A few particular solutions are known for k = 4: 651^4 = 240^4 + 340^4 + 430^4 + 599^4, 5281^4 = 1000^4 + 1120^4 + 3233^4 + 5080^4, 7703^4 = 2230^4 + 3196^4 + 5620^4 + 6995^4, ... The smallest one is 353^4 = 30^4 + 120^4 + 272^4 + 315^4.

A130012 Smallest natural number whose cube is the sum of n cubes of distinct natural numbers, or 0 if no such number exists.

Original entry on oeis.org

1, 0, 6, 13, 9, 13, 14, 16, 18, 19, 21, 22, 24, 27, 28, 31, 33, 36, 38, 40, 42, 44, 45, 49, 52, 56, 58, 59, 62, 63, 67, 69, 71, 75, 79, 79, 83, 87, 89, 92, 95, 99, 102, 105, 107, 109, 114, 116, 117, 120, 126, 129, 131, 135, 138, 140, 145, 147, 150, 153, 158, 161, 165, 168
Offset: 1

Views

Author

J. Lowell, Jun 15 2007

Keywords

Comments

a(2)=0 is a special case of Fermat's Last Theorem. - Martin Fuller, Jul 06 2007

Examples

			a(3) = 6 because 3^3 + 4^3 + 5^3 = 6^3.
		

Crossrefs

Cf. A130022 (for 4th powers), A007666 (for n-th powers).

Extensions

More terms from Martin Fuller, Jul 06 2007

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).

A350430 a(n) is the smallest n-th power which can be represented as the sum of n distinct positive n-th powers in exactly n ways, or -1 if none exists.

Original entry on oeis.org

1, 625, 157464
Offset: 1

Views

Author

Ilya Gutkovskiy, Dec 30 2021

Keywords

Comments

From Jon E. Schoenfield, Dec 30 2021: (Start)
222000^4 < a(4) < 4891341^4 = lcm(2829, 12259, 16359, 30381)^4 (see A039664, including the Wroblewski link).
10000^5 <= a(5) < 12528^5 = lcm(72, 1044, 1392, 2088, 3132)^5 (see A063923, including the Waldby link; note that, although the terms of A063923 include 72, 144, 1044, 1392, and 2088, whose LCM is only 4176, the primitive solution in which the sum of 5 distinct 5th powers is 144^5 is 0^5 + 27^5 + 84^5 + 110^5 + 133^5 = 144^5, which is not the sum of 5 positive n-th powers).
Conjecture: a(6) = -1. (End)

Examples

			For n = 2: 625 = 25^2 = 7^2 + 24^2 = 15^2 + 20^2.
For n = 3: 157464 = 54^3 = 6^3 + 36^3 + 48^3 = 12^3 + 19^3 + 53^3 = 27^3 + 36^3 + 45^3.
		

Crossrefs

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