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

Home > Numbers
Self-Descriptor part 2 (Posted on 2002-10-11) Difficulty: 3 of 5

In Self-Descriptor, we found a number ABCDEFGHIJ such that A is the count of how many 0's are in the number, B is the number of 1's, and so on.

I wonder... what if the number didn't have to be 10 digits long?

Find the smallest whole number such that the left-most digit describes the number of 0s in the number, the next digit describes the 1s, etc. Prove that it's the smallest.

See The Solution Submitted by Happy    
Rating: 3.3333 (6 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Hints/Tips Solution part 1 (Definitions and rules) | Comment 4 of 8 |
I've been trying all night to upload this from a lousy browser on a crappy computer. I'm finally home on my own.

First some definitions:

A describable number is one that can be transformed into a descriptor.

A descriptor is a number associated with a descibable number such that the first digit describes how many 0s are in the descibable number, the second digit, how many 1s, etc.

A self-descriptor is a describable number which is its own descriptor.

Any number N of d digits =
  d
 ∑[n(d - a)10ª], where 0 ≤ n ≤ 9     [n(a) = the value of the ath n; not n times a]
a=0

---------

Now some rules:

1) For describable numbers: For all a, 0 ≤ n(a) ≤ (d - 1)

2) For descriptors:
  d
  ∑[n(a)] = d
a=0

Self-descriptors must follow both rules, plus:
3) n(0) ≠ 0
  Posted by TomM on 2002-10-12 06:26:19
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 (5)
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