Problem

Source: Thailand Online MO 2021 P2

Tags: number theory



Determine all integers $n>1$ that satisfy the following condition: for any positive integer $x$, if gcd$(x,n)=1$, then gcd$(x+101,n)=1$.