I feel so very stupid right now. I understand modulus...this is not a hard task. What I am having difficulty with is how to calculate something similar to above (a = b (mod m) <-- note parenthesis, this makes it different from modulus). I am writing the answer to a Java project for my Discrete Math class. I have searched google, answers.com and neowin for how to calculate this, but to no avail. I think I need to take a break and see if I can get some neowin assistance.
What I do know is that a -13 should be a multiple of 2436...however when I do this I don't get the same answer my professor, and sites on the internet show.
Also a mod m == b mod m. But that doesn't seem to work for me either.
Is anybody on Neowin able to help here? Thank you!
Neowin Luddites are the most frustrating thing. The fact that these Luddites get front page access is even more frustrating. Windows 10 is going bye-bye. Get used to that fact. You all did the same thing to all the other versions of windows. The transfer to windows xp, vista, 8, and now 10. The only one you didn’t hate on out of the box was 7 only because windows 7 was vista rebranded. The only reason you hated vista was because it had to do things things to secure the OS which caused annoyances with all the old software that asked for admin privileges
Question
spartyjohnson
I feel so very stupid right now. I understand modulus...this is not a hard task. What I am having difficulty with is how to calculate something similar to above (a = b (mod m) <-- note parenthesis, this makes it different from modulus). I am writing the answer to a Java project for my Discrete Math class. I have searched google, answers.com and neowin for how to calculate this, but to no avail. I think I need to take a break and see if I can get some neowin assistance.
What I do know is that a -13 should be a multiple of 2436...however when I do this I don't get the same answer my professor, and sites on the internet show.
Also a mod m == b mod m. But that doesn't seem to work for me either.
Is anybody on Neowin able to help here? Thank you!
Link to comment
https://www.neowin.net/forum/topic/553858-calculating-13-mod-2436-modulo/Share on other sites
11 answers to this question
Recommended Posts