Jump to content

Science:Math Exam Resources/Courses/MATH312/December 2009/Question 06 (b)/Solution 1

From UBC Wiki

The stated problem is equivalent to showing that 0a4n+1amod10 which is equivalent to showing that 10 divides a(a4n1).

To do this, we break this into cases. Since we are looking modulo 10, we only have to discuss the cases when a{0,1,2,3,4,5,6,7,8,9} since all numbers reduce to one of these modulo 10. We proceed as suggested by the hints.

Case 1: a=0. This case clearly satisfies aa4n+1mod10 by a simple substitution. We suppose that a is positive.

Case 2: 2a. In this case, notice that clearly 2 divides a(a4n1) so it suffices to show that 5 divides a4n1. Notice that 5 does not divide a and so gcd(a,5)=1. Thus Euler's Theorem applies giving us that

1aϕ(5)a4mod5.

Hence

a4n1(a4)n11n10mod5

Thus, 5 divides a4n1 and so 10 divides a(a4n1).

Case 3: a=5. In this case, notice that clearly 5 divides a(a4n1) so it suffices to show that 2 divides a4n1. This last number is even since a4n=54n is odd. Thus 10 divides a(a4n1).

Case 4: 2a and a5. In this case, gcd(a,10)=1. Thus Euler's Theorem applies giving us that

1aϕ(10)aϕ(2)ϕ(5)a(1)(4)a4mod10.

Hence

a(a4n1)a((a4)n1)a(1n1)0mod10

Thus 10 divides a(a4n1) completing the proof.