Problem D

Favourite Numbers

Dandan likes numbers that remind her of her name. That is, she likes six-digit numbers formed by repeating a three-digit number, such as \(305\,305\), \(417\,417\), and \(832\,832\).

What is the greatest common factor of all such numbers?