Wednesday 4 May 2016

mathematics - Find the smallest N to complete the task: "Write a true self-reflective statement about the digits from 0 to N"


Following this question, consider the case where we change the number of digits and formulate the task like this:



Write the statement like "This statement contains $M_0$ 0's, $M_1$ 1, ..., $M_N$ N's", which is true. You must write about all digits, which statement includes: that all $M_i (i = 0, .., N)$ must be written with $0, .., N$ digits only.



What is the smallest $N$ possible here?





Similarly to the given answer for $N=9$:



1 0's, 7 1's, 3 2's, 2 3's, 1 4's, 1 5's, 1 6's, 2 7's, 1 8's, and 1 9's.



I can construct answer for $N=6$:



1 0's, 4 1's, 3 2's, 2 3's, 2 4's, 1 5's, 1 6's.



but the same approach fails for $N=5$. Meanwhile this doesn't prove that $N \le 5$ is not possible to achieve.



Answer




I've seen this problem for numbers from $1$ to $N$ before, but not for $0$ to $N$.


If the statements are from $1$ to $N$, the minimum you can have is $4$, as follows:



This statement contains 2 1's, 3 2's, 2 3's, and 1 4.





Now note that in the case from $0$ to $N$, you're guaranteed that there is only ever one $0$, because there is never $0$ of any other number. So, a trivial solution exists for $N = 0$:



This statement contains 1 0.




And for $N = 1$:



This statement contains 1 0 and 2 1's.



And for $N = 2$:



This statement contains 1 0, 3 1's, and 1 2.



However, what these statements all have in common is that they involve writing a number greater than the maximum number being counted, which means that the sentence only describes some of the numbers, not all of them. The smallest statement that fits your new criterion is indeed $N = 3$:




This statement contains 1 0, 2 1's, 3 2's, 2 3's, and no other numbers.



No comments:

Post a Comment

Understanding Stagnation point in pitot fluid

What is stagnation point in fluid mechanics. At the open end of the pitot tube the velocity of the fluid becomes zero.But that should result...