Problem:
Let X be the set of natural numbers that in base ten are not written with a single digit repeated several times. For every n∈X we define An as the set of numbers obtained by permuting in all possible ways the digits of n, and let dn be the greatest common divisor of all the numbers of An. For example, if n=1120,
A1120={112,121,211,1012,1021,1102,1120,1201,1210,2011,2101,2110}
and d1120=1 (112 and 121 are coprime). Determine the maximum possible value of dn.
Want a route through all this instead of an archive?
The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.