Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**passegua****Member**- Registered: 2012-07-30
- Posts: 2

I am using the powerful Combinations and Permutations Calculator, but

I cannot perform this problem:

How many 6 digit number could I write that:

1) no zeroes

2) exactly two times the digit "1"

3) exactly two times the digit "2"

Anyone could help me?

Which formula could sort this out?

Many thanks.

Offline

**anonimnystefy****Real Member**- From: Harlan's World
- Registered: 2011-05-23
- Posts: 16,018

Hi passegua

First, we see that 2 out of 6 digits are a 1, and that 2 out of 6 digits are a 2. That means that we are left with 2 places to choose a digit for. We have two cases for that:

1)The two digits we pick are the same. We can choose a digit in 7 ways, because we can only choose from digits 3,4,5,6,7,8 and 9. Then we permutate the digits we got to make a number from 2 ones, 2 twos and 2 of some other digit. We can do that in 6! ways, but we don't want to count the permutations that were counted as the result of the 2 ones changing places, so we divide by 2. The same goes for 2 and the other digit, so we end up dividing 6! by 8. The answer for this case is

2)The two digits are different. We can choose one in 7 ways and another one in 6 ways (because we said they were different), but the order in which we choose them doesn't matter (eg. choosing a 4 and a 7 is the same as choosing a 7 and a 5) so we will have to divide the number by 2. The number of ways in which we choose the two digits is

. Now we have 6 digits (2 ones, 2 twos and two different digits). Again, we can permute the number in 6! ways, but, again, changing the 2 ones' places with each other doesn't change anything so we need to divide by 2. Same goes for the 2 twos, so we end up dividing 6! by 4. Notice that this time we are not dividing by 2 for the two remaining digits because they aren't the same. The number of permutations for this case isNow that we know the results for the two cases and are sure we didn't miss any number in these cases, we get the final answer by adding the two results, which gives us:

*Last edited by anonimnystefy (2012-07-30 21:52:47)*

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 107,169

Hi;

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**passegua****Member**- Registered: 2012-07-30
- Posts: 2

Wow, that's right!

Many thanks.

D.P.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 107,169

Hi passegua;

You are welcome.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

Pages: **1**