a 2 0 1 4 ≡ 1 ( m o d 2 0 1 5 )
How many positive integer solutions a less than 2 0 1 5 does this congruency have?
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.
Indeed. If a m ≡ a n ≡ 1 ( m o d k ) , then a g cd ( m , n ) ≡ 1 ( m o d k ) .
This is equivalent to a 2 0 1 4 ≡ 1 ( m o d k ) for k = 5 , 1 3 , 3 1 . This is necessary since 2 0 1 5 = 5 × 1 3 × 3 1 . We can further reduce this to a 1 0 ≡ 1 ( m o d 1 3 ) , a 2 ≡ 1 ( m o d 5 ) , a 4 ≡ 1 ( m o d 3 1 ) .
Let a = g i for some generator g . We get 1 2 ∣ 1 0 i , 4 ∣ 2 i , 3 0 ∣ 4 i since the generator can only give one when raised to some power divisible by p − 1 . ('|' means divides). For each case, we get two values of i less than p − 1 : 0, and 2 p − 1 . Hence, we get two solutions for a for each case.
Combining these solutions, we get 2 3 = 8 total.
Yes, that works! (+1)
There is a slight gap from " 1 2 ∣ 1 0 i " to "we get two values of i less than 1 3 − 1 ". This can be dealt with in a general manner: In a cyclic group of order d , the number of solutions to a k ≡ 1 is g cd ( d , k ) .
Hence, we have g cd ( 1 0 , 1 2 ) = 2 , g cd ( 2 , 4 ) = 2 , g cd ( 4 , 3 0 ) = 2 solutions to each of these modular equations, for a total of 2 × 2 × 2 = 8 solutions by Chinese Remainder Theorem .
Log in to reply
My reasoning there was that 1 2 ∣ 1 0 i ⇒ 6 ∣ 5 i so i ≡ 0 ( m o d 6 ) . Thus, if 0 ≤ i < p we get i = 0 or i = 6 , which is pretty much why there are g cd ( p − 1 , k ) solutions for a k ≡ 1 ( m o d p ) .
Log in to reply
Right. That step was not clearly explained in the solution, hence the "slight gap".
Problem Loading...
Note Loading...
Set Loading...
We first observe that a 2 0 1 4 ≡ 1 ( m o d 2 0 1 5 ) iff a 2 ≡ 1 ( m o d 2 0 1 5 ) since ϕ ( 2 0 1 5 ) = 1 4 4 0 and g cd ( 1 4 4 0 , 2 0 1 4 ) = 2 .
Next, a 2 ≡ 1 ( m o d 2 0 1 5 ) iff a 2 ≡ 1 modulo 5, 13, and 31 since 2 0 1 5 = 5 ∗ 1 3 ∗ 3 1 . Now each of those congruences has the solutions a = ± 1 , so that the congruence a 2 ≡ 1 ( m o d 2 0 1 5 ) has 2 3 = 8 solutions.