Problem 2
Let n>6 be an integer and let be all positive integers less than n and relatively prime to n, in increasing order. If , prove that n is either a prime or a power of 2.
Step 5 of 5: The 2 modulo 4 case is impossible
Detailed analysis
For n=4m+2, the number 2m+1 divides n. On the other hand, gcd(2m+3,n) divides 4 and is odd, while gcd(2m+5,n) divides 8 and is odd; both are therefore 1. Since n>6, both numbers are below n. They occur in the progression and differ by 2, so d divides 2; d=1 would include 2m+1, and d=2 would also include this odd number. Either way it contradicts its non-coprimality with n.