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 Starts Oct 17
Chris Peckover, Target Test Prep GMAT expert
LIVE ONLINE CLASSES

Get Ready for GMAT Test Day Faster with Live Online Classes

with Chris Peckover, 100th-Percentile GMAT Scorer

Oct 17 · Chris Peckover
Sat · 11:00 AM to 2:00 PM ET
Oct 20 · Chris Peckover
Tue, Thu · 8:00 to 10:00 PM ET
Oct 25 · Josh Braslow
Sun · 1:00 to 4:00 PM ET
Included
40 hours of live online classes + 6 months of TTP OnDemand
  • Attend the first class for free
  • Every class is recorded, so you never fall behind
View classes & enroll
Limited seats availableTarget Test Prep
EALiveTeachOnDemand 5 seats left Start anytime
EXECUTIVE ASSESSMENT

Target Test Prep EA OnDemand

Self-paced EA prep. Study on your schedule.

Logan Thompson
EXECUTIVE ASSESSMENT

Sep 6 to Dec 6, 2026

with Logan Thompson

165+ EA score guarantee
$05-day trial no automatic billing
Schedule
Sun · 9:30 AM to 12:30 PM ET
Included
40 hours of live online classes plus six months of access to the complete TTP EA OnDemand course.
  • 165+ EA Score Guarantee
  • 4,100+ Quant, Verbal, and Integrated Reasoning practice questions
  • 400+ hours of in-depth video lessons
  • 3,000+ step-by-step video solutions
View EA class & enroll Start free 5-day trial
Limited cohort · enrollment openTrial includes full course accessTarget Test Prep
GMATOnDemand Start anytime
SELF-PACED MASTERCLASS

Target Test Prep GMAT OnDemand

Complete access from day one. Study on your schedule.

715+ 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.

Combinations

Expert replies
by paras747 » Mon Sep 12, 2011 9:55 am
a) A door can be opened only with a security code that consists of five buttons: 1, 2, 3, 4, 5. A code consists of pressing any one button, or any two, or any three, or any four, or all five.
How many possible codes are there? (You are to press all the buttons at once, so the order doesn't matter.)??
Join the discussion
Source: — Problem Solving |

by pemdas » Mon Sep 12, 2011 10:06 am
c(5,1)+c(5,2)+c(5,3)+c(5,4)+c(5,5)=5+10+10+5+1=31
paras747 wrote:a) A door can be opened only with a security code that consists of five buttons: 1, 2, 3, 4, 5. A code consists of pressing any one button, or any two, or any three, or any four, or all five.
How many possible codes are there? (You are to press all the buttons at once, so the order doesn't matter.)??
Success doesn't come overnight!
Join the discussion

by knight247 » Mon Sep 12, 2011 10:25 am
@paras
We'll consider each scenario for this problem

1. Where the code consists of only 1 digit. We could have 5 possible codes
2. Where the code consists of 2 digits. Since all the digits have to be keyed in at once there is no possibility of repetition. Both the digits have to be unique. So for the first digit we have 5 options and for the second we have 4 options. 5*4=20. However, we have considered the different orders as well which we need to convert back into the unordered combinations by dividing by 2!. 20/2=10 possible codes
3. Where the code consists of 3 digits. Using the principles mentioned in statement 2 we have 5*4*3/3!=10 possible codes
4. Where the code consists of 4 digits. We have 5*4*3*2/4!=5possible codes
5. Where the code consists of 5 digits. We have 5*4*3*2*1/5!=1 possible codes

Summing up we have 5+10+10+5+1=[spoiler]31 possible codes[/spoiler]
Join the discussion

by paras747 » Mon Sep 12, 2011 10:54 am
Thanks for the explanation. That actually cleared things up.
Join the discussion

by Ian Stewart » Mon Sep 12, 2011 2:07 pm
The above solutions are perfect. You could also look at the problem as follows: when entering a code, for each button we have 2 choices (we push the button or we don't). So we have 2*2*2*2*2 = 2^5 = 32 choices in total. This count is too high by 1, because it includes the possibility of not pressing any buttons at all, so the answer is 32 - 1 = 31.
For online GMAT math tutoring, or to buy my higher-level Quant books and problem sets, contact me at ianstewartgmat at gmail.com

ianstewartgmat.com
Join the discussion

by knight247 » Mon Sep 12, 2011 2:29 pm
Wow Ian...That was really cool
Join the discussion