Is there any way to find the variable "a" where ( a modulo b = c ) and "b" and "c" are known ?
Asked
Active
Viewed 46 times
-2
-
2There are infinitely many possible `a`s for which `a%b==c`. – tkausl Apr 29 '20 at 11:52
1 Answers
1
No.
'a % b = c' can be interpreted as 'a / b = k + c/b' where k is any real number.
Rearranging that 'a = kb + c', where again k is any real number. So while we can find the set that 'a' belongs to, we do not know the original value of 'a'

12Ghast
- 46
- 5