This is a beautiful problem from ISI MSTAT 2019 PSA problem 4 based on basic counting principles. We provide sequential hints so that you can try.
What is the number of 6 digit positive integers in which the sum of the digits is at least 52?
Basic counting principles
Answer: is
ISI MStat 2019 PSA Problem 4
A First Course in Probability by Sheldon Ross
Find the Minimum Digit for each case of sum of the digits (S).
S = 54, Minimum Digit = 9
S = 53, Minimum Digit = 8
S = 54, Minimum Digit = 7 or 8
Let's find the Second Minimum Digit and the Third Minimum Digit for S = 53 and S = 52.
S = 53,
Second Minimum = 9
S = 52,
Minimum Digit = 7,
Second Minimum = 9
S = 52,
Minimum Digit = 8,
Second Minimum = 8,
Third Minimum = 9
Now it's time for counting
S = 54
{999999}
S = 53,
{8,9,9,9,9,9} : Total = 6
S = 54,
{7,9,9,9,9,9} : Total = 6
{8,8,9,9,9,9} : Total = 15
Hence in total there are 1+6+6+15=28 such numbers .


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 […]