A phone number is composed of 10 digits. The first three are the area code the other 7 are the local telephone number which cannot begin with a 0. How many different telephone numbers are possible in a single area code?
If we visualize the phone number as having three "slots": one for the area code, one for the first digit and the last being the six remaining digits, by the multiplication principle, there is 1 way to complete filling the first slot, 9 ways to complete the second slot, and $10*10*10*10*10*10$ ways to fill the last slot; giving $1*9*10^6$ ways.
From Wikipedia http://en.wikipedia.org/wiki/North_American_Numbering_Plan:
Each three-digit area code may contain up to 7,919,900 unique phone numbers:
- NXX may begin only with the digits [2–9], providing a base of 8 million numbers: ( 8 x 100 x 10000 ) .
- However, the last two digits of NXX cannot both be 1, to avoid confusion with the N11 codes (subtract 80,000).
- Despite the widespread usage of NXX "555" for fictional telephone numbers — see 555 (telephone number) — today, the only such numbers specifically reserved for fictional use are "555-0100" through "555-0199", with the remaining "555" numbers released for actual assignment as information numbers (subtract 100).
- In individual geographic area codes, several other NXX prefixes are generally not assigned: the home area code(s), adjacent domestic area codes and overlays, area codes reserved for future relief nearby, industry testing codes (generally NXX 958 and 959) and special service codes (such as NXX 950 and 976). Subtract for 911 411etc emergency and informational numbers