Superposed_Cat
- 388
- 5
Hey all, if x=y%z How do i solve for y?
The discussion revolves around solving the equation X = Y%Z for Y, exploring various values and conditions that satisfy this equation. Participants examine specific examples and seek to derive a general formula applicable to different scenarios.
Participants do not reach a consensus on the conditions for i or n, with differing views on the inclusion of negative integers and the generality of the proposed formulas.
The discussion highlights the dependence on integer definitions and the implications of modular arithmetic, with unresolved aspects regarding the completeness of the proposed formulas.
Take an example:Superposed_Cat said:Hey all, if x=y%z How do i solve for y?
Yes, ## y = nz+x## ##∀x,y,z,n ∈ ℤ ## is more inclusive.HallsofIvy said:Why greater than 0? -6= 3%9 because -6= 3+ (-1)9.