[Math] How many different phone numbers are possible within an area code

combinatorics

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?

Best Answer

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