A229618 Numbers that are the distance between a square and the next larger cube.
1, 2, 4, 7, 11, 13, 15, 18, 19, 20, 25, 26, 28, 35, 39, 40, 44, 45, 47, 48, 49, 53, 54, 55, 56, 60, 61, 63, 67, 71, 72, 74, 76, 79, 81, 83, 87, 100, 104, 106, 107, 109, 112, 116, 118, 126, 127, 128, 135, 139, 143
Offset: 1
Examples
a(1) = 1 = 1^3-0^2 (but this is the only solution to y^3-x^2 = 1). a(2) = 2 = 27-25 (= 3^3-5^2), and this is the only solution to y^3-x^2 = 2. The number 3 is not in the sequence since there are no x, y > 0 such that y^3-x^2 = 3. a(3) = 4 = 8-4 (= 2^3-2^2) = 125-121 (= 5^3-11^2); these are the only two solutions to y^3-x^2 = 4, for all x>11, the minimal positive y^3-x^2 is 7.
Comments