Modular equation I

4 x + 20 27 x 1 ( m o d 5 ) \large 4x+20 \equiv 27x-1 \pmod5

Find all integers x x that satisfy the linear congruence above

Your answer can be written as x a ( m o d b ) x\equiv a \pmod b , where a a and b b are positive primes . Submit it as a + b a+b .


The answer is 7.

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

Paola Ramírez
Apr 21, 2016

4 x + 20 27 x 1 mod 5 4x+20 \equiv 27x-1 \text{ mod } 5 is equal to 23 x 21 0 mod 5 23x-21\equiv 0 \text{ mod } 5 . The last means 23 x 21 = 5 n 23x-21=5n .

A number is divisible by 5 5 if its last digit is 0 0 or 5 5 . So, the last digit of 23 x 23x minus 1 1 must be 0 0 or 5 5 .

The last digit of 23 x 23x only could be 1 1 or 6 6 . So the last digit of x x must be 7 7 or 2 2 . Therefore x 2 mod 5 \boxed{x \equiv 2 \text{ mod }5}

Otto Bretscher
Apr 21, 2016

Nice problem!

Modulo 5 we have 23 x 21 23x\equiv 21 or 3 x 1 3x\equiv 1 , or,doubling it, x 2 x\equiv 2 . The answer is 2 + 5 = 7 2+5=\boxed{7}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...