Problem:
Lily pads 1,2,3,β¦ lie in a row on a pond. A frog makes a sequence of jumps starting on pad 1. From any pad k the frog jumps to either pad k+1 or pad k+2 chosen randomly and independently with probability 21β. The probability that the frog visits pad 7 is qpβ, where p and q are relatively prime positive integers. Find p+q.
Solution:
Let P(n) be the probability that the frog visits pad n at any time. We initialize with P(1)=1 and define the recurrence:
P(n)=21βP(nβ1)+21βP(nβ2) for nβ₯2.
Compute step-by-step:
P(2)=21ββ
1=21β
P(3)=21ββ
21β+21ββ
1=41β+21β=43β
P(4)=21ββ
43β+21ββ
21β=83β+41β=85β
P(5)=21ββ
85β+21ββ
43β=165β+166β=1611β
P(6)=21ββ
1611β+21ββ
85β=3211β+3210β=3221β
P(7)=21ββ
3221β+21ββ
1611β=6421β+6422β=6443β
Thus, the answer is p+q=43+64=107β.
The problems on this page are the property of the MAA's American Mathematics Competitions