how are area codes assigned in the us?
The NANP divides the territories of its members into numbering plan areas (NPAs) which are encoded numerically with a three-digit telephone number prefix, commonly called the area code. Each telephone is assigned a seven-digit telephone number unique only within its respective plan area.