Problem

Source:

Tags: number theory, Fermat s Little Theorem, IMO



Determine all positive integers relatively prime to all the terms of the infinite sequence \[ a_n=2^n+3^n+6^n -1,\ n\geq 1. \]