Find the least positive integer x such that 7 x ≡ 1 ( m o d 5 0 0 ) .
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.
This is how I solved it. The function makes life easier.
7^0=1 Isnt it least?
7 x ≡ 1 (mod 500) ⇒ 7 x − 1 = 5 0 0 k for k is a positive integer.
Consider the pattern of the last digit of 7 x :
7 1 → 7
7 2 → 9
7 3 → 3
7 4 → 1
The last digit of RHS , 5 0 0 k is 0 .
The last digit of LHS , 7 x − 1 is also 0 if and only if x is divisible by 4 .
Let x = 4 m , and substitute into the previous expression,
7 4 m − 1 = 5 0 0 k
( 7 m − 1 ) ( 7 m + 1 ) ( 7 2 m + 1 ) = 2 2 × 5 3 × k
LHS is divisible by 2 2 × 5 3
For 2 2 , 7 m − 1 and 7 m + 1 are both even numbers so their product is divisible by 4 .
For 5 3 , the power of 7 must be in the form of 4 n + 2 for the last digit of ( 7 m + 1 ) or ( 7 2 m + 1 ) be 0 that can be divisible by 5 . Furthermore, to get a smaller m , we choose to let 7 2 m + 1 divisible by 5.
7 2 m + 1
= 4 9 m + 1
= ( 5 0 − 1 ) m + 1
= ( 0 m ) ( − 1 ) 0 5 0 m + ( 1 m ) ( − 1 ) 1 5 0 m − 1 + ( 2 m ) ( − 1 ) 2 5 0 m − 2 + . . . + ( m − 1 m ) ( − 1 ) m − 1 ( 5 0 ) 1
Every terms except the last can be divisible by 5 3 = 1 2 5 .The last term, which is ( m − 1 m ) ( − 1 ) m − 1 ( 5 0 ) 1 , can be divisible by 1 2 5 if only ( m − 1 m ) can be divisible by 5 , then the smallest possible value of m will be 5 . Now, the whole expression is divisible by 5 3 = 1 2 5 .
Substitute m = 5 ,
x = 4 m = 2 0
7^x=500k+1 units digit of 7^x has to end with 1. Hence x is a multiple of 4. 7^4n=500k+1 (2401)^n=500k+1 2401^2 ends with 801 2401^4 will end with 1201(pattern)..and 2401^20 will end with 2001 Thats how we do questions like a boss.
Problem Loading...
Note Loading...
Set Loading...
By Carmichael function , there exist a positive integer n such that 7 λ ( n ) ≡ 1 ( m o d n ) for gcd ( 7 , n ) = 1
Because 5 0 0 = 2 2 × 5 3 ,
λ ( 5 0 0 ) = = = = lcm ( λ ( 2 2 ) , λ ( 5 3 ) ) lcm ( ϕ ( 2 2 ) , ϕ ( 5 3 ) ) lcm ( 2 , 1 0 0 ) 1 0 0
So 7 1 0 0 ≡ 1 ( m o d 5 0 0 ) or 7 1 0 0 − 1 ≡ 0 ( m o d 5 0 0 ) ,
Note that the last digit of 7 x are 7 , 9 , 3 , 1 , 7 , 9 , 3 , 1 , … with period 4 , knowing that the last digit of ( 7 x − 1 ) is 0 then x must be a multiple of 4
Consider modulo 5 0 0 , for a certain positive integer m , 7 4 m − 1 ≡ ( 7 4 ) m − 1 ≡ ( − 9 9 ) m − 1 ≡ ( − 1 ) m ( 1 0 0 − 1 ) m − 1
Trial and error shows that the smallest m is 5 , hence x = 4 m = 2 0