how many positive integers less than 10000 are there in which the sum of the digits equals 5?
Answer :56
Thanks
Answer :56
Thanks
Live GMAT classes with Target Test Prep start Nov 21 and Nov 22. First class free.
See classesLearn live with an expert or move at your own pace. Every option includes the complete TTP study system.
Target Test Prep was voted #1 Best Test Prep in the 2026 Newsweek Readers’ Choice™ Awards.
with Josh Braslow, 20+ years in test prep
Self-paced EA prep. Study on your schedule.
with
Complete access from day one. Study on your schedule.
Nice question.gvosough wrote:how many positive integers less than 10000 are there in which the sum of the digits equals 5?
Answer :56
Thanks
Hi,GMATGuruNY wrote:I posted an alternate solution here:
https://www.beatthegmat.com/experts-any- ... 82307.html
|||DDDDD = 0005.Cheese12 wrote:Hi,GMATGuruNY wrote:I posted an alternate solution here:
https://www.beatthegmat.com/experts-any- ... 82307.html
Thanks for the great solution!... But i have a lil doubt regarding the first case you listed down
Thus:
"|||DDDDD = 5. " ->>> if we consider 5 digits say 50,000.. isnt this larger than 10,000 ?
||DDDD|D = 41.
|D|DDD|D = 131.
D|D|D|DD = 1112.
Kindly help clarify.. thanks !!
GMATGuruNY wrote:|||DDDDD = 0005.Cheese12 wrote:Hi,GMATGuruNY wrote:I posted an alternate solution here:
https://www.beatthegmat.com/experts-any- ... 82307.html
Thanks for the great solution!... But i have a lil doubt regarding the first case you listed down
Thus:
"|||DDDDD = 5. " ->>> if we consider 5 digits say 50,000.. isnt this larger than 10,000 ?
||DDDD|D = 41.
|D|DDD|D = 131.
D|D|D|DD = 1112.
Kindly help clarify.. thanks !!
The five D's represent not 5 digits but the 5-UNIT SUM that the four digits must add up to.
To avoid confusion, perhaps U would be a better letter than D to stand in for the 5-unit sum:
|||UUUUU = 0005.
UUUUU||| = 5000.
||UU|UUU = 0023.
etc.