.
Find the number of 7-digit positive integers, where the sum of the digits is divisible by 3.
~~~~~~~~~~~~~~~~~~~
First 7-digit positive integer number is 1,000,000 (one million).
The last 7-digit positive integer number is 9,999,999.
The number of all 7-digit positive integer number is 9,999,999 - 999,999 = 9,000,000.
The 7-digit positive integer numbers, whose sum of digits is divisible by 3
are those and only whose of this set that are divisible by 3.
The number of such numbers is one third of 9,000,000, i.e. 3,000,000.
ANSWER. The number of 7-digit positive integers, where the sum of the digits is divisible by 3 is 3,000,000.
Solved.