Unlock the four-digit lock

Unfortunately you can’t remember the code for your lock, which accepts combinations from 0000 to 9999. You only know that you didn’t use any digit more than once. How many different ways do you have to try?


The answer is 5040.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

There are 10 digits (0, 1, …, 9) and each one appears at most once. The number of orderings of these digits is 10P4 = 5040.

what is the p Stands For ?

Demigod Sayan - 7 years, 2 months ago

Log in to reply

permutation...check out your scientific calculator nPr button

Farhan Tanvir Mridul - 7 years, 2 months ago

For the first code you may use any of the 10 digits. So we may try any of the 10 digits in first case. So then in the second case we are left with 9 possible digits as we already have used 1 digit and that digit cannot be repeated. Then again in the third case we may use any of the 8 left digits as we have already used 2 digits. And in the last case we may try 7 digits.

So number of possible ways = 10x9x8x7=5040

Tanjim Faruk - 7 years, 1 month ago

Log in to reply

A 4-digit number cannot start with a '0'. So we cannot use 0 at first place. So, we are left with 9 possibilities for the first place. And 9 for the second since 0 can be present .So Ideally, isn't it 9 * 9 * 8 * 7?

hari haran - 6 years, 11 months ago

Log in to reply

"the code for your lock, which accepts combinations from 0000 to 9999."

Saya Suka - 3 months, 1 week ago
Muhammad Hamza
Jul 14, 2014

you can use 10 digits at first place 9 at second place 8 at third place and 7 digits at fourth place so the total number of combinations are

10 * 9 * 8 * 7=5040

Given: There are 10 numerical digits, 4 digit number lock, and no repetition.

Thus, 10 * 9 * 8 * 7 = 5040 is the answer.

Ryan Redz
Jun 5, 2014

10x9x8x7 = 5040

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...