What 2 digit number is 1 more than a square and 1 less than a cube?

Answer:
n = x2 + 1
n = y3 - 1

x2 + 1 = y3 - 1
x2 = y3 - 2
x = (y3 - 2).5

This means that you need to find all cubes where subtracting 2 yields a square:
Cubes:
1, 8, 27, 64, 125,...

(-2):
-1, 6, 25, 62, 123,...

(27,25) works.

n = 26
First answer by Pete Miller. Last edit by Pete Miller. Contributor trust: 10 [recommend contributor recommended]. Question popularity: 2 [recommend question].