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

A050789 Consider the Diophantine equation x^3 + y^3 = z^3 - 1 (x < y < z) or 'Fermat near misses'. The values of z (see A050787) are arranged in monotonically increasing order. Sequence gives values of y.

Original entry on oeis.org

8, 138, 138, 426, 486, 720, 823, 812, 1207, 2292, 2820, 3230, 5610, 5984, 6702, 8675, 11646, 11903, 16806, 17328, 21588, 24965, 27630, 36840, 31212, 37887, 33857, 34566, 49409, 46212, 59022, 66198, 66167, 56503, 69479, 64165, 78244, 89970
Offset: 1

Views

Author

Patrick De Geest, Sep 15 1999

Keywords

Examples

			575^3 + 2292^3 = 2304^3 - 1.
		

References

  • Ian Stewart, "Game, Set and Math", Chapter 8, 'Close Encounters of the Fermat Kind', Penguin Books, Ed. 1991, pp. 107-124.
  • David Wells, "Curious and Interesting Numbers", Revised Ed. 1997, Penguin Books, On number "729", p. 147.

Crossrefs

Extensions

More terms from Jud McCranie, Dec 25 2000
More terms from Don Reble, Nov 29 2001
Edited by N. J. A. Sloane, Feb 22 2009

A050791 Consider the Diophantine equation x^3 + y^3 = z^3 + 1 (1 < x < y < z) or 'Fermat near misses'. Sequence gives values of z in monotonic increasing order.

Original entry on oeis.org

12, 103, 150, 249, 495, 738, 1544, 1852, 1988, 2316, 4184, 5262, 5640, 8657, 9791, 9953, 11682, 14258, 21279, 21630, 31615, 36620, 36888, 38599, 38823, 40362, 41485, 47584, 57978, 59076, 63086, 73967, 79273, 83711, 83802, 86166, 90030
Offset: 1

Views

Author

Patrick De Geest, Sep 15 1999

Keywords

Comments

Numbers n such that n^3+1 is expressible as the sum of two nonzero cubes (both greater than 1).
Values of z associated with A050794.
Sequence is infinite. One subsequence is (from x = 1 + 9 m^3, y = 9 m^4, z = 3*m*(3*m^3 + 1), x^3 + y^3 = z^3 + 1): z(m) = 3*m*(3*m^3 + 1) = {12, 150, 738, 2316, 5640, 11682, 21630, 36888, 59076, 90030, ...} = a (1, 3, 6, 10, 13, 17, 20, 23, 30, 37, ...). - Zak Seidov, Sep 16 2013
Numbers n such that n^3+1 is a member of A001235. - Altug Alkan, May 09 2016

Examples

			12 is a term because 10^3 + 9^3 = 12^3 + 1 (= 1729).
2316 is in the sequence because 577^3 + 2304^3 = 2316^3 + 1.
		

References

  • Ian Stewart, "Game, Set and Math", Chapter 8, 'Close Encounters of the Fermat Kind', Penguin Books, Ed. 1991, pp. 107-124.

Crossrefs

Programs

  • Mathematica
    r[z_] := Reduce[ 1 < x < y < z && x^3 + y^3 == z^3 + 1, {x, y}, Integers]; z = 4; A050791 = {}; While[z < 10^4, If[r[z] =!= False, Print[z]; AppendTo[A050791, z]]; z++]; A050791 (* Jean-François Alcover, Dec 27 2011 *)
  • PARI
    is(n)=if(n<2,return(0));my(c3=n^3);for(a=2,sqrtnint(c3-5,3),if(ispower(c3-1-a^3,3),return(1)));0 \\ Charles R Greathouse IV, Oct 26 2014
    
  • PARI
    T=thueinit('x^3+1); is(n)=n>8&&#select(v->min(v[1], v[2])>1, thue(T, n^3+1))>0 \\ Charles R Greathouse IV, Oct 26 2014

Extensions

More terms from Michel ten Voorde
Extended through 47584 by Jud McCranie, Dec 25 2000
More terms from Don Reble, Nov 29 2001
Edited by N. J. A. Sloane, May 08 2007

A050788 Consider the Diophantine equation x^3 + y^3 = z^3 - 1 (x < y < z) or 'Fermat near misses'. Arrange solutions by increasing values of z. Sequence gives values of x.

Original entry on oeis.org

6, 71, 135, 372, 426, 242, 566, 791, 236, 575, 1938, 2676, 1124, 2196, 1943, 1851, 1943, 7676, 3318, 10866, 3086, 3453, 17328, 4607, 28182, 10230, 25765, 31212, 7251, 34199, 6560, 15218, 29196, 54101, 32882, 51293, 17384, 8999, 58462, 75263
Offset: 1

Views

Author

Patrick De Geest, Sep 15 1999

Keywords

Comments

From Fred W. Helenius (fredh(AT)ix.netcom.com), Jul 22 2008: (Start)
There is an infinite family of solutions to c^3+1=a^3+b^3 given by
(a,b,c) = (9n^3 + 1, 9n^4, 9n^4 + 3n). The present sequence actually asks about
x^3 + y^3 = z^3 - 1 with x < y < z; for that we can take
(x,y,z) = (9n^3 - 1, 9n^4 - 3n, 9n^4) for n > 1.
I extracted these solutions from Theorem 235 in Hardy & Wright; the result shown there is that all nontrivial rational solutions of
x^3 + y^3 = u^3 + v^3 are given by
x = r(1 - (a - 3b)(a^2 + 3b^2))
y = r((a + 3b)(a^2 + 3b^2) - 1)
u = r((a + 3b) - (a^2 + 3b^2)^2)
v = r((a^2 + 3b^2)^2 - (a - 3b))
where r,a,b are rational and r is not zero.
Specializing to r = 1, b = n/2 and a = 3n/2 gives
x = 1, y = 9n^3 - 1, u = 3n - 9n^4, v = 9n^4.
The solutions given above are obtained by changing signs and moving cubes from one side of the equation to the other as necessary.
Unfortunately, not all integral solutions are found so easily: the third value in A050788 corresponds to 135^3 + 138^3 = 172^3 - 1; this is not produced by such simple choices of r,a,b. (End)

Examples

			(575)^3 + 2292^3 = 2304^3 - 1.
		

References

  • Ian Stewart, "Game, Set and Math", Chapter 8, 'Close Encounters of the Fermat Kind', Penguin Books, Ed. 1991, pp. 107-124.
  • David Wells, "Curious and Interesting Numbers", Revised Ed. 1997, Penguin Books, On number "729", p. 147.

Crossrefs

Extensions

More terms from Jud McCranie, Dec 25 2000
Further terms from Don Reble, Nov 29 2001

A050790 Consider the Diophantine equation x^3 + y^3 = z^3 - 1 (x < y < z) or 'Fermat near misses'. Arrange solutions by increasing values of z. Sequence gives values of x^3 + y^3 = z^3 - 1.

Original entry on oeis.org

728, 2985983, 5088447, 128787624, 192100032, 387420488, 738763263, 1030300999, 1771560999, 12230590463, 29704593672, 52861038776, 177978515624, 224866629440, 308367729215, 659184444926, 1586874322943
Offset: 1

Views

Author

Patrick De Geest, Sep 15 1999

Keywords

Examples

			575^3 + 2292^3 = 2304^3 - 1 = 12230590463.
		

References

  • Ian Stewart, "Game, Set and Math", Chapter 8, 'Close Encounters of the Fermat Kind', Penguin Books, Ed. 1991, pp. 107-124.
  • David Wells, "Curious and Interesting Numbers", Revised Ed. 1997, Penguin Books, On number "729", p. 147.

Crossrefs

Extensions

More terms from Jud McCranie, Dec 25 2000

A163827 a(n) = 6n^3 + 1, solution z in Diophantine equation x^3 + y^3 = z^3 - 2. It may be considered a Fermat near miss by 2.

Original entry on oeis.org

7, 49, 163, 385, 751, 1297, 2059, 3073, 4375, 6001, 7987, 10369, 13183, 16465, 20251, 24577, 29479, 34993, 41155, 48001, 55567, 63889, 73003, 82945, 93751, 105457, 118099, 131713, 146335, 162001, 178747, 196609, 215623, 235825, 257251, 279937
Offset: 1

Views

Author

Carlos Alves, Aug 05 2009

Keywords

Comments

It is easy to check that with x = 6n^2, y = 6n^3 - 1, and this z = 6n^3 + 1, it satisfies the Diophantine equation x^3 + y^3 = z^3 - 2. Thus these are near-misses for Fermat equation.
For n>2, it seems to be the only solution of x^n + y^n = z^n - 2 (or even that differ by 2 from FLT, see A050787 and A050791 for solutions that differ by 1). As 2 is not a cube, these solutions are not included in the theory for x^3 + y^3 = u^3 + v^3.

Examples

			For n=1, a(1)=7 and 7^3 - 2 (=341) = 5^3 + 6^3.
For n=2, a(2)=49 and 49^3 - 2 (=117647) = 24^3 + 47^3.
		

Crossrefs

Programs

Formula

a(n) = 6n^3+1.
a(1)=7, a(2)=49, a(3)=163, a(4)=385, a(n)=4*a(n-1)-6*a(n-2)+4*a(n-3)- a(n-4). [Harvey P. Dale, Dec 12 2011]
G.f.: (-x^3+9*x^2+21*x+7)/(x-1)^4. [Harvey P. Dale, Dec 12 2011]

A271717 Integers k such that both k and k^3-1 are the sum of two positive cubes (see A003325).

Original entry on oeis.org

9, 11664, 36864, 38134, 345744, 1750329, 4782969, 20820969, 47775744, 65804544, 95004009, 150994944, 448084224, 733055625, 1093955625, 1416167424, 2197265625, 4318066944, 5194805625, 6198727824, 7169347584, 10771948944, 13013105625, 19591041024, 32427005625
Offset: 1

Views

Author

Altug Alkan, Apr 12 2016

Keywords

Comments

Values of a^3 + b^3 such that (a^3 + b^3)^3 - 1 is of the form x^3 + y^3 where a, b, x, y > 0.
38134 = 2*23*829 is the first term that is nonsquare. What are the next square terms of this sequence?
n is a member of A007412 and n^3 is a member of A003072, obviously.

Examples

			9 is a term because 9 = 1^3 + 2^3 and 9^3 - 1 = 6^3 + 8^3.
		

Crossrefs

Programs

  • PARI
    isA003325(n) = for(k=1, sqrtnint(n\2, 3), ispower(n-k^3, 3) && return(1));
    for(n=1, 1e7, if(isA003325(n) && isA003325(n^3-1), print1(n, ", ")));

Extensions

a(8)-a(16) from Chai Wah Wu, Apr 17 2016
a(17)-a(25) from Chai Wah Wu, Jul 21 2025

A330013 a(n) is the number of solutions with nonnegative (x,y,z) to the cubic Diophantine equation x^3+y^3+z^3 - 3*x*y*z = n.

Original entry on oeis.org

3, 3, 0, 3, 3, 0, 3, 6, 6, 3, 3, 0, 3, 3, 0, 6, 3, 6, 3, 6, 0, 3, 3, 0, 3, 3, 9, 12, 3, 0, 3, 6, 0, 3, 9, 6, 3, 3, 0, 6, 3, 0, 3, 6, 6, 3, 3, 0, 9, 3, 0, 6, 3, 12, 3, 12, 0, 3, 3, 0, 3, 3, 6, 9, 9, 0, 3, 6, 0, 9, 3, 12, 3, 3, 0, 6, 9, 0, 3, 6, 12, 3, 3, 0, 3
Offset: 1

Views

Author

Bernard Schott, Nov 27 2019

Keywords

Comments

Some results coming from the Alarcon and Duval reference.
For n = 0, there are infinitely many solutions because every triple (k,k,k) with k >= 0 satisfies the equation.
a(n) = 0 iff 3 divides n and 9 doesn't divide n (equivalent to n is in A016051).
When n belongs to A074232 (complement of A016051), a(n) is always a multiple of 3 because
1) if (a,a,b) [resp. (a,b,b)] with a < b is a primitive solution, then these triples generate 3 solutions with the permutations (a,a,b), (a,b,a), (b,a,a), [resp. (a,b,b), (b,b,a), (b,a,b)] and,
2) if (a,b,c) with a < b < c is a primitive solution, then this triple generates 6 solutions with the permutations (a,b,c), (b,c,a), (c,a,b), (a,c,b), (c,b,a), (b,a,c).
For prime p <> 3, a(p) = a(2*p) = 3.
An inequality: (n/4)^(1/3) <= max(x, y, z) <= (n+2)/3.
This sequence is unbounded.
A261029 gives the number of triples without counting the permutations and, in link, a list of primitive triples up to n = 2000.

Examples

			3^3+2^3+2^3-3*2*2*3 = 7 so (3,2,2), (2,2,3) and (2,3,2) are solutions and a(7) = 3.
When n=35, (0,1,3) is a primitive solution that generates 6 solutions and (9,9,10) is another primitive solution that generates 3 solutions, so a(35)=6+3=9 (see comments).
		

References

  • Guy Alarcon and Yves Duval, TS: Préparation au Concours Général, RMS, Collection Excellence, Paris, 2010, chapitre 9, Problème: étude d'une équation diophantienne cubique, pages 137-138 and 147-152.

Crossrefs

Cf. A261029 (primitive triples without the permutations).
Cf. A050787, A050791, A212420 (other cubic Diophantine equations).

Programs

  • Mathematica
    a[n_] := Length@ Solve[x^3 + y^3 + z^3 - 3 x y z == n && x >= 0 && y >= 0 && z >= 0, {x, y, z}, Integers]; Array[a, 85] (* Giovanni Resta, Nov 28 2019 *)

Formula

If n = 3*k + 1, then (k, k, k+1) is a solution for k >= 0.
If n = 3*k - 1, then (k, k, k-1) is a solution for k >= 1.
If n = 9*k, then (k-1, k, k+1) is a solution for k >= 1.
If n = k^3, then (k, 0, 0) is a solution for k >= 0.
If n = 2*k^3, then (k, k, 0) is a solution for k >= 0.

Extensions

More terms from Giovanni Resta, Nov 28 2019
Showing 1-7 of 7 results.