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.

A080761 Positive numbers of the form y^2 - x^3, x and y >= 1.

Original entry on oeis.org

1, 3, 8, 9, 12, 15, 17, 18, 19, 22, 24, 28, 30, 35, 36, 37, 38, 40, 41, 44, 48, 54, 55, 56, 57, 63, 64, 65, 68, 71, 73, 79, 80, 89, 92, 94, 97, 98, 99, 100, 101, 105, 106, 107, 108, 112, 113, 117, 119, 120, 121, 128, 129, 131, 132, 136, 138, 141, 142, 143, 145, 148, 151
Offset: 1

Views

Author

Cino Hilliard, Mar 10 2003

Keywords

Comments

From Artur Jasinski, Oct 03 2007: (Start)
Some numbers have multiple partitions:
8 = 4^2 - 8^3 = 312^2 - 46^3,
9 = 6^2 - 3^3 = 15^2 - 6 ^3 = 253^2 - 40^3. (End)
This is Mordell's equation with the condition that x and y are positive. Sequence A054504 lists the n for which there is no solution to Mordell's equation. Hence, none of those numbers will be in this sequence. The terms of this sequence can be determined by looking at the link to Gebel's data. - T. D. Noe, Mar 23 2011

Examples

			8 is in the sequence since 3^2 = 1^3 + 8.
		

Crossrefs

Complement of A080762.
Cf. sequences for n^3+7, n^3+17, n^3+3, n^3+2, n^3+5.

Programs

  • Mathematica
    With[{nn=100},Take[Union[Select[First[#]^2-Last[#]^3&/@Tuples[Range[ 20nn],2],#>0&]],nn]] (* Harvey P. Dale, Jul 10 2012 *)
  • PARI
    diop(n,m) = { for(p=1,m, for(x=1,n, y=x*x*x+p; if(issquare(y),print1(p" "); break) ) ) }

Extensions

"Positive" added to definition by N. J. A. Sloane, Oct 06 2007