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.

A046881 Smallest number that is sum of 2 positive distinct n-th powers in 2 different ways.

Original entry on oeis.org

5, 65, 1729, 635318657
Offset: 1

Views

Author

Keywords

Comments

Randy Ekl discovered that a number that can be written in two ways as a sum of two fifth powers exceeds 4.01*10^30 and one that can be written in two ways as a sum of two sixth powers exceeds 7.25*10^26. - R. J. Mathar, Sep 07 2017
According to the Mathworld links below, a(5) and a(6), if they exist, exceed 1.02*10^26 and 7.25*10^26, respectively. The page at the SquaresOfCubes link below says Stuart Gascoigne did an exhaustive search and found in Sep 2002 that no a(5) solution less than 3.26*10^32 exists. My exhaustive search has determined that any solutions for n > 5, if they exist, must exceed 2^96 (about 7.92*10^28). - Jon E. Schoenfield, Dec 15 2008
a(5) > 10^33. - Julien Courties, Nov 02 2020

Examples

			5 = 1^1 + 4^1 = 2^1 + 3^1;
65 = 1^2 + 8^2 = 4^2 + 7^2;
1729 = 1^3 + 12^3 = 9^3 + 10^3; etc.
		

References

  • R. Alter, Computations and generalizations on a remark of Ramanujan, pp. 182-196 of "Analytic Number Theory (Philadelphia, 1980)", ed. M. I. Knopp, Lect. Notes Math., Vol. 899, 1981.

Crossrefs

Cf. A016078.

Programs

  • Mathematica
    (* This naive program is not convenient for n > 3 *) r[n_, k_] := Reduce[0 < x < y && x^n + y^n == k, {x, y}, Integers]; a[n_] := Catch[ For[ k = 1, True, k++, rk = r[n, k]; If[rk =!= False, If[ Head[rk] == Or && Length[rk] == 2, Print["n = ", n, ", k = ", k]; Throw[k]]]]]; Table[a[n], {n, 1, 3}] (* Jean-François Alcover, Jul 30 2013 *)

A230561 Smallest number that is the sum of two positive n-th powers in >= n ways.

Original entry on oeis.org

2, 50, 87539319
Offset: 1

Views

Author

Jonathan Sondow, Oct 23 2013

Keywords

Comments

Guy, 2004: "Euler knew that 635318657 = 133^4 + 134^4 = 59^4 + 158^4, and Leech showed this to be the smallest example. No one knows of three such equal sums." Thus no one knows whether a(4) exists, which requires four such equal sums.
a(4) > 10^21 (if it exists). There is no number <= 10^21 that is the sum of two positive 4th powers in >= three ways. - Donovan Johnson, Jan 07 2014

Examples

			2 = 1^1 + 1^1.
50 = 1^2 + 7^2 = 5^2 + 5^2.
87539319 = 167^3 + 436^3 = 228^3 + 423^3 = 255^3 + 414^3.
		

References

  • R. K. Guy, Unsolved Problems in Number Theory, 3rd edition, Springer, 2004, D1.

Crossrefs

Cf. A048610, A011541 for a(2), a(3).
Cf. also A016078, A230477.

Formula

a(n) >= A016078(n) for n > 1, with equality at least for n = 2, and inequality at least for n = 3.

A230562 Smallest number that is the sum of 2 positive 4th powers in >= n ways.

Original entry on oeis.org

0, 2, 635318657
Offset: 0

Views

Author

Jonathan Sondow, Oct 25 2013

Keywords

Comments

Hardy and Wright say that a(3) is unknown.
Guy, 2004: "Euler knew that 635318657 = 133^4 + 134^4 = 59^4 + 158^4, and Leech showed this to be the smallest example. No one knows of three such equal sums."

Examples

			0 = (empty sum).
2 = 1^4 + 1^4.
635318657 = 59^4 + 158^4 = 133^4 + 134^4.
		

References

  • R. K. Guy, Unsolved Problems in Number Theory, 3rd edition, Springer, 2004, D1
  • G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, 6th edition, 2008; section 21.11.

Crossrefs

A338799 Smallest number that is the sum of two n-th powers of primes in two different ways.

Original entry on oeis.org

10, 338, 6058655748, 3262811042
Offset: 1

Views

Author

Ilya Gutkovskiy, Nov 10 2020

Keywords

Comments

The Lander, Parkin, and Selfridge conjecture implies that for n >= 5 a number can be the sum of two n-th powers of positive integers in at most one way, and in particular that a(n) does not exist for n >= 5. - Robert Israel, Nov 13 2020

Examples

			10 = 3 + 7 = 5 + 5.
338 = 7^2 + 17^2 = 13^2 + 13^2.
6058655748 = 61^3 + 1823^3 = 1049^3 + 1699^3.
3262811042 = 7^4 + 239^4 = 157^4 + 227^4.
		

Crossrefs

A338800 Smallest number that is the sum of two distinct n-th powers of primes in two different ways.

Original entry on oeis.org

16, 410, 6058655748, 3262811042
Offset: 1

Views

Author

Ilya Gutkovskiy, Nov 10 2020

Keywords

Comments

The Lander, Parkin, and Selfridge conjecture implies that for n >= 5 a number can be the sum of two n-th powers of positive integers in at most one way, and in particular that a(n) does not exist for n >= 5. - Robert Israel, Nov 13 2020
a(5) > 10^31 if it exists. - Michael S. Branicky, Jul 01 2024

Examples

			16 = 3 + 13 = 5 + 11.
410 = 7^2 + 19^2 = 11^2 + 17^2.
6058655748 = 61^3 + 1823^3 = 1049^3 + 1699^3.
3262811042 = 7^4 + 239^4 = 157^4 + 227^4.
		

Crossrefs

Programs

  • Maple
    f:= proc(n) local S,P,p,pn,b;
      S:= {}:
      P:= {}:
      p:= 1:
      b:= infinity;
      do
       p:= nextprime(p);
       pn:= p^n;
       if pn > b then return b fi;
       V:= select(`<`,map(`+`,P,pn),b);
       newv:= V intersect S;
       S:= S union V;
       P:= P union {p^n};
       if newv <> {} then
         b:= min(newv);
         S:= select(`<`,S,b);
         P:= select(`<`,P, b);
       fi;
      od:
    end proc:
    map(f, [$1..4]); # Robert Israel, Nov 13 2020

A363759 Smallest number that can be written as a sum of a positive n-th power and a positive (n+1)-th power in 2 different ways.

Original entry on oeis.org

5, 17, 4097, 1048577, 1073741825, 4398046511105, 72057594037927937, 4722366482869645213697, 1237940039285380274899124225, 1298074214633706907132624082305025, 5444517870735015415413993718908291383297
Offset: 1

Views

Author

Seiichi Manyama, Jun 20 2023

Keywords

Examples

			5 = 1^1 + 2^2 = 4^1 + 1^2.
17 = 3^2 + 2^3 = 4^2 + 1^3.
4097 = 1^3 + 8^4 = 16^3 + 1^4.
1048577 = 1^4 + 16^6 = 32^5 + 1^6.
		

Crossrefs

Programs

  • PARI
    a(n) = my(k=1); while (!(sum(j=1, k^(1/n), (k>j^n)*ispower(k-j^n, n+1))==2), k++); k;
Showing 1-6 of 6 results.