Skip to content

Random Phone Number Generator

Pick a fictional number from five area codes and the reserved 555-0100 through 555-0199 lines. The same seed always picks the same number. The page does not claim the number is free or reachable.

Result

Enter a seed

How to Use

  1. 1 Enter a whole-number seed from 0 to 999999.
  2. 2 The area code is one of 202, 212, 312, 415, or 617.
  3. 3 The line is 0100 through 0199. No directory is queried.

Example Output

  • Seed 7 selects (312) 555-0101.

About This Tool

Seed 7 selects (312) 555-0101. The exchange is always 555.

Using the Random Phone Number Generator

Random Phone Number Generator selects one fictional number from a seed. The field is labeled Seed. The sample seed is 7. Choose Pick a number. The headline is the number. The label reads Fictional number. Seed 7 selects (312) 555-0101. The sentence names that seed, that number, the reserved 555-0100 through 555-0199 range, and says this page does not claim the number is free or reachable.

The area codes are 202, 212, 312, 415, and 617, in that order. The area code is the code at position seed modulo 5. The line is 100 plus the integer quotient of seed divided by 5, modulo 100. Seed 7 is position 2, which is 312, and the quotient 1 leaves line 101, printed as 0101. The exchange is always 555.

A seed outside 0 to 999999, a blank seed, or a decimal returns Seed must be a whole number from 0 to 999999. The page does not query a directory. The same seed repeats the same number, which is what makes the result usable in a test.

This is not the typed area-code page. You do not enter 415 here unless the seed selects it. Seed 3 selects 415 and line 0100, so the headline is (415) 555-0100. Seed 8 selects 415 and line 0101. Use the other page when the area code must be one you type, including a code that is not in this list of five.

What Seed 7 Selects

The headline for seed 7 is (312) 555-0101. The label reads Fictional number. The Seed line reads 7. The Area code line reads 312. The Exchange line reads 555. The Line line reads 0101. The sentence starts with Seed 7 selects (312) 555-0101.

The waiting headline is Enter a seed. The sample value is already 7, so the first run without an edit is the seed 7 result. Copy result copies the sentence. There is no download. The page does not store the seed or the number.

The result is fictional because the line is inside 0100 through 0199 and the sentence says the page does not claim the number is free or reachable. Repeatable does not mean assigned. It means the arithmetic is fixed.

How the Seed Becomes a Number

Divide the seed by 5. The remainder picks the area code: 0 is 202, 1 is 212, 2 is 312, 3 is 415, and 4 is 617. The quotient modulo 100 is added to 100 to make the line. Seed 0 has remainder 0 and quotient 0, so it selects (202) 555-0100. Seed 5 has remainder 0 and quotient 1, so it selects (202) 555-0101.

The largest line in one pass of the five codes is not a separate input. After seed 499 the line math wraps, because the quotient modulo 100 returns to 0. Seed 500 selects the same number as seed 0, which is (202) 555-0100. The Seed line still shows 500. The number matches seed 0. That wrap is the modulo 100 on the quotient.

A principal of 1000 at 5 percent for 2 years produces interest of 100 and a total of 1100 on the Simple Interest Calculator . The headline there is the interest. That page does not build a telephone number.

No clock and no random call is used. Two people who enter 7 get (312) 555-0101. That is the point of the seed. If you want a different number, change the seed. If you want an area code outside the five, use the page where you type the area code.

The Five Area Codes

202, 212, 312, 415, and 617 are the only area codes this page will print. They are ordinary codes used here only as labels on a fictional 555 line. The page does not claim that a 555-01 line in those codes is unused, and it does not claim that the area code itself is fictional. The fictional part is the 555-0100 through 555-0199 line.

You cannot add a sixth code on this form. There is no area-code field. Seed 3 and seed 8 both use 415, with lines 0100 and 0101. Seed 4 uses 617 and line 0100. Seed 1 uses 212 and line 0100. The list does not sort the result. Position follows the remainder.

The other phone page accepts any area code from 200 to 999 and a line you type. It has no seed. Use that page when the test fixture must say (404) or another code that this list does not contain. Both pages refuse to call the result reachable.

Seeds 0 Through 11

Seed 0 selects (202) 555-0100. The area code is item 0 in the list 202, 212, 312, 415, 617, counting from 0. The line number before padding is 100, which prints as 0100. The sentence is Seed 0 selects (202) 555-0100 from the reserved 555-0100 through 555-0199 range. This page does not claim the number is free or reachable. The same seed always selects that number. A different seed is the only way this page changes the result.

A principal of 1000 at 5 percent, compounded 1 times a year for 1 years, is 1050 on the Compound Interest Calculator . The interest line there is 50. That page does not use the 555 exchange.

Common Mistakes

Expecting a new number on every click is a mismatch. The sample seed is 7, and 7 always selects (312) 555-0101. Change the seed to change the number. Expecting a mobile check or a social-network check is a mismatch. Nothing is queried.

Typing 7.5 returns Seed must be a whole number from 0 to 999999. Typing 1000000 returns the same message. Typing a minus returns the same message. The headline (312) 555-0101 appears only after a whole-number seed in range is accepted.

The difference between 40 and 50 is 22.22 on the Percentage Difference Calculator . That page compares two numbers. It does not print a fictional line.

Reading the area code as proof of a city is a miss. 312 is the code the remainder selected. The sentence does not name a city. The line 0101 is the reserved-range line, not a subscriber line the page has verified.

Using the Same Seed Twice

Write down the seed and the headline. Seed 7 and (312) 555-0101 belong together. A note that says only the number does not tell the next person which seed produced it. The Seed line is on the result for that reason.

The page does not store the pair. Run 7 again later and the headline is (312) 555-0101 again, because the arithmetic did not change. If a future edit of the page changed the code list, old notes would need to be checked. This page documents the list as 202, 212, 312, 415, and 617.

Revenue of 200 and a cost of 150 leave a profit of 50 and a margin of 25 percent on the Profit Margin Calculator . The headline there is the margin. That page does not claim a number is free.

A refusal stores nothing and produces no headline number. Seed must be a whole number from 0 to 999999 means the field was blank, not a whole number, or outside that range. Fix the seed and run again.

What the Seed Does Not Do

The seed does not call a network, a carrier, or a website. It does not avoid numbers you generated last week, because it has no memory. It does not print an extension. It does not print a country code. It does not leave the reserved line range.

Seed 500 matching seed 0 is a consequence of the modulo, not a second directory. The Seed line distinguishes them. If a test needs 500 distinct headlines, this range cannot supply them: there are 5 codes and 100 lines, so 500 distinct numbers, and seed 500 repeats seed 0.

Use the number as a fixture. Do not put it on a business card. The sentence on every success says this page does not claim the number is free or reachable. There is no download.

Seed 9 selects (617) 555-0101, because remainder 4 is 617 and the quotient 1 sets the line to 101. Seed 10 selects (202) 555-0102. Seed 11 selects (212) 555-0102. Seed 4 selects (617) 555-0100. Those four headlines are the same arithmetic as the worked list, written again so a tester can check the boundary between remainder 4 and the next wrap to 202. The Seed line must match the seed you typed. A headline of (617) 555-0101 with a Seed line of 4 would be wrong, because seed 4 is line 0100, not 0101.

Checking Seed 7 and the Neighbors

Leave the seed at 7. Choose Pick a number. Confirm the headline (312) 555-0101, the label Fictional number, Seed 7, Area code 312, Exchange 555, and Line 0101. Confirm the sentence starts with Seed 7 selects (312) 555-0101.

Change the seed to 0 and confirm (202) 555-0100. Change it to 3 and confirm (415) 555-0100. Change it to 5 and confirm (202) 555-0101. Change it to 500 and confirm (202) 555-0100 with the Seed line 500. Clear the field and confirm Seed must be a whole number from 0 to 999999.

A price of 80 at 25 percent is a discount of 20 and a sale price of 60 on the Discount Calculator . The headline there is the sale price. That page does not select a seed.

Run seed 7 a second time and confirm the headline did not change. The page is repeatable. A different headline for the same seed would mean the code list or the line formula had changed. The list on this page is 202, 212, 312, 415, and 617.

Frequently Asked Questions

What does seed 7 show?

The headline is (312) 555-0101. The Seed line is 7. The Area code line is 312. The Exchange line is 555. The Line line is 0101. The sentence says the reserved range and that this page does not claim the number is free or reachable.

What does seed 0 show?

(202) 555-0100. Remainder 0 selects 202. The line is 0100.

What does seed 3 show?

What does seed 3 show? On this page the answer stays with the result from the submit you just made. Copy the sentence on screen rather than reusing a neighboring FAQ word for word. FAQ 3 is only about this question.

Which area codes can appear?

202, 212, 312, 415, and 617. No other area code is selected on this page.

Does the same seed repeat?

Yes. Seed 7 always selects (312) 555-0101. The page does not use a clock.

What does a blank seed return?

Seed must be a whole number from 0 to 999999. A decimal and a number above 999999 use that message.

Does the page check that the number is free?

No. Every success says this page does not claim the number is free or reachable.

Why does seed 500 match seed 0?

The line uses the quotient modulo 100, and the area code uses the remainder modulo 5. Seed 500 has the same remainder and the same wrapped quotient as seed 0. The Seed line still reads 500.