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

A018786 Numbers that are the sum of two 4th powers in more than one way.

Original entry on oeis.org

635318657, 3262811042, 8657437697, 10165098512, 51460811217, 52204976672, 68899596497, 86409838577, 138519003152, 160961094577, 162641576192, 264287694402, 397074160625, 701252453457, 823372979472, 835279626752
Offset: 1

Views

Author

Keywords

Comments

Since 4th powers are squares, this is a subsequence of A024508, the analog for squares. Sequence A001235 is the analog for third powers (taxicab numbers). Sequence A255351 lists max {a,b,c,d} where a^4 + b^4 = c^4 + d^4 = a(n), while A255352 lists the whole quadruples (a,b,c,d). - M. F. Hasler, Feb 21 2015

Examples

			a(1) = 59^4 + 158^4 = 133^4 + 134^4.
a(2) = 7^4 + 239^4 = 157^4 + 227^4. Note the remarkable coincidence that here all of {7, 239, 157, 227} are primes. The next larger solution with this property is 17472238301875630082 = 62047^4 + 40351^4 = 59693^4 + 46747^4. - _M. F. Hasler_, Feb 21 2015
		

References

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

Crossrefs

Subsequence of A003336 (and hence A004831) and A024508 (and hence A001481).

Programs

  • Mathematica
    Select[ Split[ Sort[ Flatten[ Table[x^4 + y^4, {x, 1, 1000}, {y, 1, x}]]]], Length[#] > 1 & ][[All, 1]] (* Jean-François Alcover, Jul 26 2011 *)
  • PARI
    n=4;L=[];for(b=1,999,for(a=1,b,t=a^n+b^n;for(c=a+1,sqrtn(t\2,n),ispower(t-c^n,n)||next;print1(t",")))) \\ M. F. Hasler, Feb 21 2015
    
  • PARI
    list(lim)=my(v=List()); for(a=134,sqrtnint(lim,4)-1, my(a4=a^4); for(b=sqrtnint((4*a^2 + 6*a + 4)*a,4)+1,min(sqrtnint(lim-a4,4),a), my(t=a4+b^4); for(c=a+1,sqrtnint(lim,4), if(ispower(t-c^4,4), listput(v,t); break)))); Set(v) \\ Charles R Greathouse IV, Jul 12 2024

Formula

A weak lower bound: a(n) >> n^2. - Charles R Greathouse IV, Jul 12 2024

A255351 Values of b = max {a,b,c,d} for solutions to a^4 + b^4 = c^4 + d^4, a < c < d < b, ordered by size of b.

Original entry on oeis.org

158, 239, 292, 316, 474, 478, 502, 542, 584, 631, 632, 717, 790, 876, 948, 956, 1004, 1084, 1106, 1168, 1195, 1203, 1262, 1264, 1381, 1422, 1434, 1460, 1506, 1580, 1626, 1673, 1738, 1752, 1893, 1896, 1912
Offset: 1

Views

Author

M. F. Hasler, Feb 21 2015

Keywords

Comments

See A018786 for the values of a^4 + b^4 = c^4 + d^4, and A255352 for the list of the full quadruples (a,b,c,d). See there for further comments, motivation and references.
The values of b listed here allow one to reproduce the full solutions (a,b,c,d) with not too much effort, cf. the inner loops of the PARI code.

Examples

			The quadruples [a,b,c,d] are, listed in order of increasing b = max{a,b,c,d}:
[59, 158, 133, 134], [7, 239, 157, 227], [193, 292, 256, 257], [118, 316, 266, 268], [177, 474, 399, 402], [14, 478, 314, 454], [271, 502, 298, 497], [103, 542, 359, 514], [386, 584, 512, 514], [222, 631, 503, 558], [236, 632, 532, 536], [21, 717, 471, 681], [295, 790, 665, 670], [579, 876, 768, 771], [354, 948, 798, 804], [28, 956, 628, 908], ...
		

Crossrefs

Programs

  • PARI
    {n=4;for(b=1,1999,for(a=1,b,t=a^n+b^n;for(c=a+1,sqrtn(t\2,n),ispower(t-c^n,n)||next;print1(b",");next(3))))}

A366703 List of quadruples (a,b,c,d) with a^4 + b^4 = c^4 + d^4, a < c < d < b, a,b,c,d prime, listed in order of the largest term b.

Original entry on oeis.org

7, 239, 157, 227, 40351, 62047, 46747, 59693
Offset: 1

Views

Author

Mia Muessig, Oct 17 2023

Keywords

Comments

See A255352 for quadruples which do not necessarily consist of prime numbers. There are infinitely many such quadruples, because if (a, b, c, d) is in the sequence, so is (m*a, m*b, m*c, m*d). It is unknown whether there are infinitely many quadruples which consist only of prime numbers. The two given quadruples are the only ones with a^4 + b^4 = c^4 + d^4 <= 10^24.

Examples

			The quadruples (a,b,c,d), listed in order of increasing b = max{a,b,c,d}, are
  (7, 239, 157, 227),
  (40351, 62047, 46747, 59693), ...
		

Crossrefs

Showing 1-3 of 3 results.