Problem 4
Determine all positive integers relatively prime to all the terms of the infinite sequence
Step 2 of 5: Fermat's little theorem for primes
Detailed analysis
For any prime , none of is divisible by , so Fermat's little theorem gives , , .