In which of these bases does there not exist a self-descriptive number ?
Note : A self-descriptive number in base is a number digits long that contains 's, 's, and so on.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Self-descriptive numbers in base 10,7,5,4 respectively are 6210001000, 3211000, 21200, 2020.
Suppose x 0 x 1 x 2 x 3 x 4 x 5 is a self-descriptive number in base 6. As a consequence of being a self-descriptive number, x 0 + x 1 + x 2 + x 3 + x 4 + x 5 = 6 .
If x 5 = 0 , then some x i = 5 . But then four x j must be 0 , so x 0 = 4 and x 4 = 0 , a contradiction. Thus, x 5 = 0 .
If x 4 = 0 , then some x i = 4 . But then at least three x j must be 0 , so x 0 = 3 or x 0 = 4 . Since the sum of the x j is 6 , x 0 = 4 . Then x 1 = x 2 = x 3 = 0 , so x 4 cannot count the number of 4's appearing as digits in x 0 x 1 x 2 x 3 x 4 x 5 . By contradiction, x 4 = 0 .
If x 3 = 0 , then since the sum of the x j is 6 (and x 4 = x 5 = 0 ), x 0 = 2 or x 0 = 3 . Assume x 0 = 2 . Then { x 1 , x 2 , x 3 } = { 1 , 1 , 2 } , so x 3 = 0 , a contradiction. If x 0 = 3 , then similarly { x 1 , x 2 , x 3 } = { 0 , 1 , 2 } , but then x 1 = x 2 = 1 , a contradiction. Therefore, x 3 = 0 .
Thus, we have shown x 0 ≥ 3 , but x 3 = x 4 = x 5 = 0 , yielding a contradiction. Therefore, there is no delf-descriptive number in base 6.