Question: Prove that for all integers n, (-n) mod 2 = n mod 2. Give an example to show that it is not always true that

Prove that for all integers n, (-n) mod 2 = n mod 2. Give an example to show that it is not always true that (-n) mod 3 = n mod 3.

Professor mentioned to prove for odd and even integers, however, I don't know how to start the proof.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!