Let X be the set of natural numbers whose all digits in the decimal representation are different. For n∈N, denote by An the set of numbers whose digits are a permutation of the digits of n, and dn be the greatest common divisor of the numbers in An. (For example, A1120={112,121,...,2101,2110}, so d1120=1.)
Find the maximum possible value of dn. number theorygreatest common divisorpermutationsmaximum