Assume that a equiv b mod n and that n∣a. Show that n∣b:

geneth1u

geneth1u

Answered question

2022-09-05

Assume that a b mod n and that n∣a. Show that n∣b
Here is what I have.
If a b mod n this implies a = b + x n for some x Z . (1)
Since n∣a we can say a = y n for some y Z . (2)
Combining (1) and (2) we have y n = b + x n (3)
Dividing (3) by n we have that n∣b (4).
Is this correct? Can I divide like this in line (4) in this kind of proof?

Answer & Explanation

Ashlee Ramos

Ashlee Ramos

Beginner2022-09-06Added 20 answers

Explanation:
This is almost correct, you simply take y n = b + x n and subtract xn on both sides to get b = y n x n = n ( y x ) which shows that b is divisible by n.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?