King Dagobert the Ist, the king of the Franks, forgot the code needed to open the safe where he put all of his gold. Fortunately, he gave Saint Eligius (his treasurer and chief counsellor) a parchment, in case he forgot the above-mentionned code.
He can read on this parchment :
«To retrieve the code of the safe, fill in the blanks in the following sentence with digits, and make sure that the sentence stays coherent; the ten number you insert (in the order) will give the code.»
The parchment ends with the following sentence :
«In that sentence, the digit 0 appears __ times,
the digit 1 appears __ times,
the digit 2 appears __ times,
the digit 3 appears __ times,
the digit 4 appears __ times,
the digit 5 appears __ times,
the digit 6 appears __ times,
the digit 7 appears __ times,
the digit 8 appears __ times,
and the digit 9 appears __ times.»
Can you help the king and find the code ?
The numbers you insert also have to be considered as being part of the sentence.
So your answer is not right... Sorry. It was worth a try though...
«In that sentence, the digit 0 appears _1_ times,
the digit 1 appears _9+1_ times,
the digit 2 appears _3_ times,
the digit 3 appears _2_ times,
the digit 4 appears _1_ times,
the digit 5 appears _1_ times,
the digit 6 appears _1_ times,
the digit 7 appears _1_ times,
the digit 8 appears _1_ times,
and the digit 9 appears 2_ times.»
In your answer, the digit 1 appears 8 times, not 9+1=10 times.
Plus, you can only use digits (I recognize that I didn't say this in my post; I'm going to edit my post, sorry for this.)
HINT: You can be sure about that there is only one 0 in the sentence; so try beginning with the number of 0s, then find the number of 9s, the number of 8s... And progress step by step.