Jump to content
BrainDen.com - Brain Teasers
  • 0

Special number


Thorak
 Share

Question

There are random numbers generators. It's a well known fact. But a less known fact is that every random number generator has its inventory imp. Its job is to supervisor the generated numbers so that all numbers are generated equally.
 
Our imp's name is Igor and he is working for such a number generator that can generate up to ten digit numbers, while no such number with all same digits can be generated (they don't look random enough).
 
His job is to write down every generated number (right aligned) and its inventory number. The inventory number says, how many digits of each were used in the random number. In the example you can see the generated random number 7970123 as well as its inventory number.
 
Yesterday, a strange situation happened. After Igor wrote down another inventory number that day, he found out, it was completely same as the random number it belongs to!
 
What number was it?
 
 

post-53798-0-14579100-1407794134_thumb.p

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

6210001000



I can explain the process that I used in more depth if needed...but it's really not too difficult if you begin by choosing the first number in the randomly generated number and start filling in the inventory number step by step based on that...I started this process with the number starting with 9 and worked my way backwards, but you could do it starting at 1 and work your way up.

As you do that, you'll find that the generated number can't start with a 9, 8, or 7...you eventually get to numbers that start with 6:
6 ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? 1 ? ? ?

6 ? ? ? ? ? 1 ? ? ?
? 1 ? ? ? ? 1 ? ? ?

6 1 ? ? ? ? 1 ? ? ?
? 2 ? ? ? ? 1 ? ? ?

 

Have to change our generated number to match the inventory number...

6 2 ? ? ? ? 1 ? ? ?
? 2 1 ? ? ? ? ? ? ?

6 2 1 ? ? ? 1 ? ? ?
? 2 1 ? ? ? 1 ? ? ?

6 2 1 ? ? ? 1 ? ? ?
6 2 1 ? ? ? 1 ? ? ?

6210001000

Edited by Pickett
  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...