Is it possible in R, to list a set of certain possible values for a given equation? For example:
Fora, b, and c with the formula a^3 + b^2 = c.
How can this be tested for all combinations of a and b such that a and b are less than 1000 and c to satisfy the formula and check if the variables are also valid inputs?