MathDB
2021 Combo #5: Bunny with changing die

Source:

May 30, 2021
Combo

Problem Statement

Teresa the bunny has a fair 88-sided die. Seven of its sides have fixed labels 1,2,,7,1, 2, \cdots , 7, and the label on the eighth side can be changed and begins as 11. She rolls it several times, until each of 1,2,,71, 2, \dots, 7 appears at least once. After each roll, if kk is the smallest positive integer that she has not rolled so far, she relabels the eighth side with kk. The probability that 77 is the last number she rolls is ab,\tfrac ab, where aa and bb are relatively prime positive integers. Compute 100a+b100a + b.