Logic behind the number of combinations of numbers

In summary, there are 10,000 possible combinations for a 4 digit code with numbers 0-9. This is because there are 10 choices for each of the four digits, resulting in a total of 10 x 10 x 10 x 10 = 10,000 combinations. This can be visualized with a tree diagram.
  • #1
lntz
54
0
Hey,

so i think this is a fairly simple question but i'd like to get it firmly understood in my head.

How do you figure out the amount of combinations of digits in say a 4 digit code. with numbers 0-9...

I can't think of a good way to say it, but for example you could have 0,1,2,3 or 1,2,3,0 etc etc.

So how do you figure out quickly just how many combinations exist.


Thanks for any help you give
 
Mathematics news on Phys.org
  • #2
Ten choices for the first number, ten choices for the second number...: 10 x 10 x 10 x 10 = 10,000

All of the numbers between 0000 and 9999.
 
  • #3
Sorry my maths is lacking... why do you multiply the numbers, and not add them.
 
  • #4
0 thru 9, or 10 different choices, for each digit.

00, 01, 02, 03...09 10 choices
10, 11, 12, 13...19 10 choices
20, 21, 22, 23...29 10 choices
...
30 thru 89... 60 choices
...
90, 91, 92, 93...99 10 choices
total 100 choices

000,001,002...099 100 choices
100,101,102...199 100 choices
...
200,201,202...899 700 choices
...
900,901,902...999 100 choices
total= 1000 choices

Do the same thing for the next digit...
 
  • #5
It might help to imagine a tree diagram, with all the possibilities the numbers could be.
 

1. What is the formula for calculating the number of combinations of numbers?

The formula for calculating the number of combinations of numbers is nCr = n! / (r! * (n-r)!), where n represents the total number of items and r represents the number of items selected for each combination.

2. How does the order of the numbers affect the number of combinations?

The order of the numbers does not affect the number of combinations. For example, the combination 1,2,3 is the same as 3,2,1. This is because combinations are not concerned with the order of the items, but rather the selection of a specific group of items.

3. Can the number of combinations be larger than the total number of items?

No, the number of combinations cannot be larger than the total number of items. This is because combinations are a subset of the total number of items and cannot exceed the total number.

4. How does the number of items and selected items affect the number of combinations?

The number of items and selected items both play a role in determining the number of combinations. As the number of items increases, the number of possible combinations also increases. However, as the number of selected items increases, the number of combinations decreases.

5. Can combinations be repeated?

In most cases, combinations cannot be repeated. This means that once an item has been selected for a combination, it cannot be selected again. However, there are cases where repetition is allowed, such as when selecting multiple items from a set with replacement.

Similar threads

  • General Math
Replies
2
Views
1K
  • General Math
Replies
1
Views
716
Replies
1
Views
2K
Replies
4
Views
386
  • Precalculus Mathematics Homework Help
Replies
20
Views
1K
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
14
Views
918
  • General Math
Replies
4
Views
4K
Replies
4
Views
1K
Replies
3
Views
1K
Back
Top