It is not difficult at all. Back in the day, all area codes had "1" or "0" as the second digit, prefixes (the three digits after the area code) could not be the same as any area code, and "1000," "2000," etc numbers were reserved for large businesses that had switchboards. These days, they are all just numbers.