Integer solutions for equation with approximated real variable I’m trying to solve an equation of the kind