A very easy modular arithmetic problem

Suppose 1 is congruent to m+n in mod m+1. What is the value on n if 0≤n≤m?

1 0 2 Any value m None m 2 \frac {m}{2} 3

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

m + n 1 ( m o d m + 1 ) \Large{m+n \equiv 1 \pmod{m+1}} n = 2 \Large{\implies n =2}

We start by writing the congruence into a fraction.

m + n 1 m + 1 \frac {m+n-1}{m+1}

So if n is any value other than 2, then the equation does not give a positive integer output.

So the answer is 2 \boxed{2}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...