Let A be the set of four-digit natural numbers having exactly two distinct digits, none of which is zero. Interchanging the two digits of n∈A yields a number f(n)∈A (for instance, f(3111)=1333). Find those n∈A with n>f(n) for which gcd(n,f(n)) is the largest possible. GCDgreatest common divisornumber theory