Find the number of 8 digit numbers sum of whose digits is 4.
Discussion:
Suppose the number is $latex a_1 a_2 a_3 ... a_8 $.The possible values of $latex a_1 $ are 1, 2, 3, 4. We consider these four cases.
If $latex a_1 = 4 $ then all other digits are 0 (since sum of digits is 4). Hence there is only 1 such number.
If $latex a_1 = 3 $ then exactly one of the other 7 digits is 1. Hence there are 7 such numbers (depending on where the digit '1' is).
If $latex a_1 = 2 $ then sum of the other seven digits is 2.
Hence we compute the number of non negative integer solutions of $latex a_2 + ... + a_8 = 2 $ .
This equals $latex \binom {6+2}{2} $ = 28
If $latex a_1 = 1 $ then sum of the other seven digits is 3.
Hence we compute the number of non negative integer solutions of $latex a_2 + ... + a_8 $ = 3
This equals $latex \binom {6+3}{3} $ = 84
Hence the answer is 120.
For more problems: Pre-Regional Mathematics Olympiad Problems
Pre-Regional Mathematics Olympiad - 2012 - Problem 17 - Video

Publishing original scientific research in a peer-reviewed journal is an achievement many scholars work toward for years. Achieving this feat early in one's academic journey requires exceptional intellectual rigor, creativity, and persistence. Aaditya Punatar and Muskan Sadana have reached this remarkable milestone, successfully publishing their collaborative research paper in the prestigious Journal of Emerging Investigators […]

Her project on quantum-accelerated Steiner trees for 15-minute cities earned a place among the finalists at the world's largest pre-college STEM competition. Prishaa Shrimali of Marymount School of New York, was selected as a Grand Finalist at the 2026 Regeneron International Science and Engineering Fair (ISEF) in Phoenix, Arizona. Her project was Optimizing Urban Accessibility: […]

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's M.Stat Entrance. They ranked within the first 50 in the entire country in these entrances. I.S.I. M.Stat Entrance

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's B.Stat Entrance and Chennai Mathematical Institute's B.Sc. Math Entrance. They ranked within the first 200 in the entire country in these entrances. Most of these students attended the problem solving workshops regularly, which happen 5 days every week. CMI B.Sc. Math Entrance […]
[…] Find number of 8 digit numbers sum of whose digits is 4. Discussion […]