All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
A Number Line (Posted on 2003-06-18) Difficulty: 2 of 5
A new subdivision is being constructed, along a long road with hundreds of houses. The houses are all numbered in order starting with 1 – so they proceed 1, 2, 3, 4, … down the long road. All of the people go to the hardware store to buy numbers for their mailbox, and they line up in order at the counter. The store, unfortunately, has only 100 of each digit available.

Which homeowner will be the first who cannot buy the complete number for his mailbox?

  Submitted by DJ    
Rating: 4.2000 (10 votes)
Solution: (Hide)
For the numbers 1-99, there are 20 of each digit 1-9 and 9 zeroes used.
For 100-199, there will be 120 ones used, 11 zeroes, and 20 of each other digit.

The first digit to run out, then, will be 1. From 100-119, there are 32 '1' digits used; 20 in the hundreds place, 10 in the tens place, and two in the ones place.
For each 10 numbers after that (until we get to 200, of course), there will be 11 ones used.

That said, we need to find out what number would use the hundred-and-first '1' digit (and thus be unable to buy his complete mailbox number).

From 1-119 we have established that 52 will be used, meaning there are 48 left, and every ten subsequent numbers will require the use of eleven '1' digits.
So, 40 numbers later, 44 more of the ones will have been used; or, after the residents of house number 159 buy their numbers, a total of 52+44=96 have been used, leaving only four.
After the people in house 160 purchase theirs, there are three left; after 161, only one, and the lucky homeowners of house number 162 take the very last digit number 1.

Therefore, the first who cannot buy the complete number live in house #163.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
answerK Sengupta2007-11-12 02:38:06
SolutionAnswer OnlyDuCk2003-06-19 02:04:17
SolutionsolutionCharlie2003-06-18 15:31:27
Solutionre: NumbersGamer2003-06-18 12:30:56
Numbersjono2003-06-18 12:06:47
Some ThoughtsAnswerHank2003-06-18 11:36:23
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (23)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information