ChatterBank2 mins ago
numbers
16 Answers
What is the shortcut to figure our the total possible combinations of numbers given the amount of digits. More specifically my husband and I wondered how many possible phone numbers could arise out of seven digits (all within one area code). But I'd like to know the equation (or whatever) just for future reference.
Answers
Best Answer
No best answer has yet been selected by Yinzer. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.If there are 2 or more digits the same I think you just omit the multipliers equvalent or less than the number of duplicated digits - ie if there were 3 numbers the same in the 7 it would be 7x6x5x4. If there is more than one number duplicated then I have absolutely no idea - Bernardo, we need you!!!
As Jenstar says, with numerals it's the counting numbers.
Ordinary numerals are of course in base 10. The number of possibilities for a 7 digit number (including leading zeros) is 10 to the power of 7.
With letters, just think of them as numbers in base 26, and do the same thing. Count the number of letters in your "number". Raise 26 to this power.
So the number of possible combinations for a three "digit" "number" would run from AAA to ZZZ. It would be 26 to the power of three, or 17,576 (there are no leading zeros to miss out of course).
For other bases, you'd do the same. For example, I had a car with a radio code which worked off the pre-set channel buttons. There were five of these, so that was four digits in base five, or only 625 possible numbers. It didn't take me long to find by trial and error.
Likewise, if you were using letters, but were not allowed some (as in number plates), you'd use the number of allowable ones as your base.
The example above assumes you count to ZZZ starting from AAA. However, if you were counting like spreadsheet columns it would go: "A, B ... Z, AA, AB .. ZZ, AAA, AAB ... ZZZ". This is more complicated, as you are using imaginary leading zeros (00A, 00B etc) but not then using zero as a digit. I think this would be 26 +(26**2)+(26**3).
I agree with New Forester, that for phone numbers it would be 10 to the power 7 for a seven digit number. The previous posts (7x6x5x4x...) only apply if numbers cannot be repeated, but they can for phone numbers.
One other thing to remeber is that phone numbers cannot start with a zero, so there would be 9x10x10x10x10x10x10 = 9,000,000 combinations. There would also be a couple of others you couldn't start with (eg 999) so there would be a few less than 9 million possibilities.
As Hammer says, some numbers cannot be allowed at the start of phone numbers -- not just 999, but also special "operator" numbers like 100, 151, 152 etc.
Also, many exchanges use only certain numbers in certain areas (I suppose derived originally from the local dialling codes). Ringwood, for example, is 01425, then 47[xxxx] or 48[xxxx], while New Milton is also 01425, but then 81[xxxx]. So the number of numbers available will be very much less than the theoretical maximum -- I guess perhaps 50,000 or so.
"More specifically my husband and I wondered how many possible phone numbers could arise out of seven digits (all within one area code)."
The answer to this part of the question is very simple. For example in Glsagow where the area code is 0141 then xxx xxxx can have a maximum of 10 million combinations.