Fortune Telling Collection - Comprehensive fortune-telling - How to calculate the number of dice with hexadecimal method?

How to calculate the number of dice with hexadecimal method?

The value of each dice is 1-6. When calculating the value between 1 1~66 in hexadecimal, there will be 36 results. The specific algorithm steps are as follows:

1. Roll the dice at will. The minimum number of dice is 1, and the minimum number of two dice is 1 1.

2. Roll the dice at will. The maximum number of dice is 6, and the maximum number of two dice is 66.

3. All values that appear are 1 1- 16. , 21-26,61-66, and the number of results is 6*6=36.