Equations with the same solutions