Page 3 of 3
Re: Problem 162
Posted: Thu Jun 12, 2025 4:18 pm
by PierrotLeFou
You mean that the numbers must contain at least the digits $0$, $1$ and $A$ but may contain other hexadecimal digits?
If it's the case, indeed I didn't understand clearly the statement of the problem.
Thanks for your reply. I will check again the statement.
Re: Problem 162
Posted: Fri Jun 13, 2025 2:37 pm
by SAG145
You got it right. Good luck!
Re: Problem 162
Posted: Sat Jun 14, 2025 12:29 am
by PierrotLeFou
This will be a little more difficult than the previous solution.
Maybe I go in the wrong direction but a part of the solution is to evaluate the possibility to insert the requested digits among the others.
Suppose I have $4$ positions left and $2$ digits to insert among the others.
Here what I found:
$.X.X.$ gives $2X0X0$, $1X1X0$, $1X0X1$, $0X2X0$, $0X1X1$, $0X0X2$.
The$.$ are the possible insertion points and $X$ are the other digits, and the numbers are the amount of requested digits inserted at each position.
I will have to count the number of permutations between inserted digits and possible permutations between those digits and the digits in the $X$ position.