2. Let be a prime number greater than 3, and for some natural number , the number is exactly a 20-digit number. Prove: This number contains at least three identical digits.
Problem 847
Official solution
Proof by contradiction. Assume that among the 20 digits of , no three or more are the same, then at most two digits are the same. Thus, the 10 digits , in the 20 positions of , each digit appears exactly twice (otherwise, would have fewer than 20 digits). Therefore, the sum of the digits of is . So, is divisible by 3. Thus, is divisible by 3. But it is given that is a prime number greater than 3, which is a contradiction. Therefore, must have at least three identical digits.