|
|
Subject:
Math
Category: Science > Math Asked by: dclnop-ga List Price: $10.00 |
Posted:
01 Dec 2003 13:44 PST
Expires: 31 Dec 2003 13:44 PST Question ID: 282345 |
Factorial Equation set up - trying to set up an equation to determine how many different integers can be formed by using a five digit number, with one recurring digit (such as 95254),with the largest integer being no more than five digits long. | |
| |
| |
|
|
Subject:
Re: Math
Answered By: richard-ga on 02 Dec 2003 16:02 PST |
Hello and thanks for your interesting question. The answer depends on whether a 5-digit number can start with '0' If it can, then here's the pattern 0 0 [9] [8] [7] first is 0, second is 0, 9x8x7=504 ways to fill the rest 0 [9] 0 [8] [7] another 504 ways 0 [9] [8] 0 [7] " 0 [9] [8] [7] 0 " [9] 0 0 [8] [7] " [9] 0 [8] 0 [7] " [9] 0 [8] [7] 0 " [9][8] 0 0 [7] " [9][8] 0 [7] 0 " [9][8][7] 0 0 " So the total of 5-digit #s with a double '0' and no other double is 5,040 Then repeat that exact pattern using '1' where the '0' used to be and likewise for '2' through '9' Grand total = 10 * 5,040 = 50,400 ---------- When a leading '0' is not allowed, the '0' group is only six rows high instead of ten. --------- No google search terms this time--just used my noodle. Cheers! Richard-ga | |
|
|
Subject:
Re: Math
From: racecar-ga on 03 Dec 2003 11:52 PST |
It appears to me that dclnop-ga wants the number of distict ways that the digits in a given 5 digit number (with one repeating digit) can be arranged, and not the number of distinct 5 digit numbers with one repeating digit that can be formed using all 10 digits. If we assume that the given 5 digit number has no zeros in it (say it's 11234), then there are: 2 digit numbers: 4*3 + 1 = 13 (4 choices for the first digit, 3 for the second, plus the number 11) 3 digit numbers: 4*3*2 + 3*3 = 33 (4 choices for the first digit, 3 for the second, and 2 for the third, plus the numbers like 112, for which there are 3 choices for the third digit, and 3 choices for where to place the third digit) 4 digit numbers: 4*3*2*1 + (4 choose 2)*3*2 = 60 ( (4 choose 2)=6 is the number of ways to place the two 1's, and then there are 3 choices for the third digit and 2 for the fourth) 5 digit numbers: (5 choose 2)*3*2*1 = 60 ( (5 choose 2) = 10 is the number of ways to place the 1's...) So the answer is 166. If one of the digits is a zero (like in 11230), then 3 of the 2 digit numbers would start with a 0, 7 of the 3 digit numbers " " " " 12 of the 4 digit numbers " " " " 12 of the 5 digit numbers " " " " So in this case, the answer is 132 If the repeated digit is a zero (like in 12300), then 4 of the 2 digit 12 of the 3 digit 24 of the 4 digit 24 of the 5 digit numbers would start with a zero. So in this case, the answer is 102 |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |