BREAKING: Target Test Prep releases Brand New 2026 On Demand GMAT prep course

Redeem

Target Test Prep · GMAT

Choose how you want to prepare

Learn live with an expert or move at your own pace. Every option includes the complete TTP study system.

★★★★★5.0559 reviews
GMATLiveTeach 7 seats left
Chris Peckover
NEXT LIVE COHORT

Oct 13 to Jan 7, 2027

with Chris Peckover

Schedule
Tue, Thu · 8:00 to 10:00 PM ET
Included
40 live hours + 6 months of GMAT OnDemand
  • Live instruction and real-time questions
  • Class recordings and assigned practice
View class & enroll
Limited cohort · enrollment openTarget Test Prep
EALiveTeach 5 seats left
Logan Thompson
EXECUTIVE ASSESSMENT

Sep 6 to Dec 6, 2026

with Logan Thompson

Schedule
Sun · 9:30 AM to 12:30 PM ET
Included
Live EA class + 6 months of EA OnDemand
  • Expert-led weekly online sessions
  • EA Masterclass access between classes
View EA class & enroll
Limited cohort · enrollment openTarget Test Prep
GMATOnDemand Start anytime
SELF-PACED MASTERCLASS

Target Test Prep GMAT OnDemand

Complete access from day one. Study on your schedule.

130-point score guarantee
$0to start then $127/mo
  • Personalized study plan and analytics
  • Thousands of lessons and practice questions

Compare the format, schedule, and included access before enrolling. Prices and seat counts shown reflect the supplied offer details.

Very tricky counting problem

Expert replies

by faraz_jeddah » Mon Jul 22, 2013 3:41 pm
sana.noor wrote:using the inserting stick and seperator technique

(5+3)!/5!.3! = 56...C is the answer

is my approach to answer this question right?
where did you come up with that formula/technique?
Join the discussion

by vipulgoyal » Mon Jul 22, 2013 10:06 pm
Hi Brent,

how did you come up with

" We can extend this solution and conclude that the number of integers less than 1,000,000 in which the sum of the digits equals 8 will be 13C5"
OR
8c3 for less then 10000

though I got the explanation how 13c5 and 8c3 are yeilding desired answers, but how did we come up with 13c5 and 8c3
Join the discussion

by Brent@GMATPrepNow » Tue Jul 23, 2013 6:44 am
vipulgoyal wrote:Hi Brent,

how did you come up with

" We can extend this solution and conclude that the number of integers less than 1,000,000 in which the sum of the digits equals 8 will be 13C5"
OR
8c3 for less then 10000

though I got the explanation how 13c5 and 8c3 are yeilding desired answers, but how did we come up with 13c5 and 8c3
DISCLAIMER: This question type is likely beyond the scope of the GMAT

Okay, let's begin with 8c3 for less then 10000
Let's take eight Os: OOOOOOOO
Let's randomly choose 3 of these O's and replace them with lines.
For example: OO|O|O|O
By counting the O's between lines, we see that this scenario represents the number 2111
Similarly, O|OO|O|O represents the number 1211, O||OOO|O represents the number 1031, and |O||OOOO represents the number 0104 (104)
In each selection, five O's remain, so the sum of the digits will always be 5.
So, we can select 3 O's from 8 O's in 8C3 ways (56 ways)

IMPORTANT: We want a 1-, 2-, 3- or 4-digit number (i.e., less than 10,000) such that the digits add to 5.
This is accomplished in (5 + 4 - 1)C(4 - 1) ways (8C3 ways)


Now let's deal with: the number of integers less than 1,000,000 in which the sum of the digits equals 8 will be 13C5
We want a 1-, 2-, 3-, 4-, 5-, or 6-digit number (i.e., less than 1,000,000) such that the digits add to 8.
This is accomplished in (8 + 6 - 1)C(6 - 1) ways (13C5 ways)

Cheers,
Brent
Brent Hanneson - Creator of GMATPrepNow.com
Image
Join the discussion

by tanvis1120 » Fri Jul 25, 2014 9:54 am
What is insert stick and separator technique?
Join the discussion

by Brent@GMATPrepNow » Fri Jul 25, 2014 10:01 am
tanvis1120 wrote:What is insert stick and separator technique?
See the above posts.

Cheers,
Brent
Brent Hanneson - Creator of GMATPrepNow.com
Image
Join the discussion

by GMATinsight » Sat Jul 26, 2014 1:17 pm
Just in case someone wants to remember one formula for questions like these...

Whole Number (0,1,2,3,...) Solutions of an Equation in r vaiables
= (n+r-1)C(r-1)


Where,
n = Number to be divided among r variables
r = Number of variables

Example:

In how many ways can 8 Chocolates of similar type be distributed among three children where a child can have 0 to 8 chocolates?

We form an equation A+B+C = 8
where A,B and C are the chocolates given to first, second and third child respectively

This equation can be solved as follows for finding whole number of solution of A, B and C
n = 8
r = 3
i.e. Whole number solutions = (8+3-1)C(3-1) = 10C2 = 45
"GMATinsight"Bhoopendra Singh & Sushma Jha
Most Comprehensive and Affordable Video Course 2000+ CONCEPT Videos and Video Solutions
Whatsapp/Mobile: +91-9999687183 l [email protected]
Contact for One-on-One FREE ONLINE DEMO Class Call/e-mail
Most Efficient and affordable One-On-One Private tutoring fee - US$40-50 per hour
Join the discussion