The 4-digit positive integer 2022 has an interesting property. It has precisely three equal digits and is divisible by the sum of the digits, that is, 6.
Now the quotient obtained by dividing this number by the sum of the digits is: (2022)/6=337, which is a 3-digit number with precisely two equal digits.
Determine six positive 4-digit positive integers, each of them having the above-mentioned properties, that immediately follows 2022.
How many 4-digit positive integers (no leading zeros) with the foregoing properties precede 2022?
*** Remember: the quotient must have precisely 3 digits, exactly two of which must be equal.