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
Vote for Target Test Prep, Newsweek Readers’ Choice Awards 2026
NEWSWEEK READERS’ CHOICE 2026

BIG NEWS! Target Test Prep has been nominated, and they’d love your vote!

TTP has worked incredibly hard to build the best test prep experience possible, and winning Newsweek’s 2026 Readers’ Choice Award for Best Test Prep would mean a lot to them. If TTP has helped you, they’d be incredibly grateful for your vote. You can vote once each day through September 9.

Vote for TTP
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
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
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.

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