Determine all positive integers relatively prime to all the terms of the infinite sequence $a_n = 2^n + 3^n + 6^n − 1,\ n \ge 1$. ~IMO 2005 P4
I was solving a number theory book in which this was an example question. I know I can find this solution anywhere but I would like a hint as to how to solve this problem coz i don't want to see the solution just yet. I think this may use Fermat's little theorem so I was looking at $a_{p-1}$ . Any hint would be appreciated! Cheers.