Calculate the minimum value of an integer $x$, such that $\left\lfloor\frac{xy^2}{xy+w(y-z)}\right\rfloor>z$

Solution 1:

$$xy^2=(xy+w(y-z))(z+1)$$

$$xy^2-xy*(z+1)=w(y-z))(z+1)$$

$$xy(y-z-1)=w(y-z))(z+1)$$

$$x=\left \lceil\frac{w(y-z)(z+1)}{y^2-zy-y}\right\rceil$$

Since we need x to be an integer, we simply round up

EDIT: If you don't want to round up, simply find $a$ when

$$w(y-z)(z+1)+a\text{ mod } {y^2-zy-y} \equiv 0$$ and the solution becomes $$x=\frac{w(y-z)(z+1)+a}{y^2-zy-y}$$