There are 60480 numbers.
A number divisible by 123456789 must be 0 or bigger than 123456789. It must, therefore have 1 digit or 9 digits (or more). A remainder of 1 makes no difference to the number of digits. In any case, there can be no number of 4 digits that is divisible by 123456789.
1 set
There are 5! = 120 such numbers.
-123456785
6*6*3 = 108 numbers.
5040 different 4 digit numbers can be formed with the digits 123456789. This is assuming that no digits are repeated with each combination.
There are 3024 of them.
There are 504 such numbers.
-123456787
To form a two-digit odd number using the digits 123456789 without repetition, the unit's digit must be an odd number. The available odd digits are 1, 3, 5, 7, and 9, giving us 5 options for the unit's place. For the ten's place, we can choose any of the remaining 8 digits. Therefore, the total number of two-digit odd numbers is (5 \times 8 = 40).
-123456786
A number divisible by 123456789 must be 0 or bigger than 123456789. It must, therefore have 1 digit or 9 digits (or more). A remainder of 1 makes no difference to the number of digits. In any case, there can be no number of 4 digits that is divisible by 123456789.
The largest digit in the number 123456789 is 9. Since the question asks for the largest number, 123456789 itself is the largest when considering all the digits together. However, if referring to individual digits, the maximum single digit is 9.
27 three digit numbers from the digits 3, 5, 7 including repetitions.
24
500
840