If my modular division is right; 1 / 5 mod 11 = 9. Can someone confirm this?
However, in Java; 1 / 5 % 11 = 0;
I’m not sure what’s going on here, is it my syntax, do I need to bracket it in someway?
I’m getting confused now 🙂
Can someone advice?
Thanks
That is the same as (1/5) mod 11.
(or alternatively the same as 1 / (5 mod 11) which is still 1/5 == 0 [from left to right it would actually be (1/5) mod 11 though])
1 / 5 = 0 (for integers)
0 mod 11 = 0