how many positive integers less than 10000 are there in which the sum of the digits equals 5?
Answer :56
Thanks
Answer :56
Thanks
BREAKING: Target Test Prep releases Brand New 2026 On Demand GMAT prep course
RedeemTarget Test Prep · GMAT
Learn live with an expert or move at your own pace. Every option includes the complete TTP study system.

with Chris Peckover, 100th-Percentile GMAT Scorer
Self-paced EA prep. Study on your schedule.

with Logan Thompson
Complete access from day one. Study on your schedule.
Compare the format, schedule, and included access before enrolling. Prices and seat counts shown reflect the supplied offer details.
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.
New here Create free account