Problem 4
Determine all positive integers relatively prime to all the terms of the infinite sequence
Step 3 of 5: Turn the exponent into an inverse mod
Detailed analysis
Since , multiplying both sides by gives , and likewise , . Substituting into gives the stated congruence.