Rational numbers and equations