Yes, that's true, but the reason the people found the problem interesting was that Fermat supposedly had a theorem (which never got written down) that showed that the equation
a^n + b^n = c^n
has no solutions such that a, b and c are Natural Numbers (integers greater than zero) for n > 2. There are of course an infinite number of possible triples (a,b,c) that do solve the equation: if you set c = 5, for example, and plot y = (5^3-x^3)^(1/3) you'll get a curve, points along which will satisfy x^3 + y^3 = 5^3, but not both of x and y will be natural numbers, by the theorem (which was not actually proven until recently by Wiles).