Problem:
Let SP1βP2βP3βEP4βP5β be a heptagon. A frog starts jumping at vertex S. From any vertex of the heptagon except E, the frog may jump to either of the two adjacent vertices. When it reaches vertex E, the frog stops and stays there. Find the number of distinct sequences of jumps of no more than 12 jumps that end at E.
Solution:
Define A={S,P1β},B={P2β,P5β}, and C={P3β,P4β}. Then the frog can reach vertex E on jump n only if it reaches a vertex in C on jump nβ1. The frog can reach a vertex in C on jump n only if it reaches a vertex in B on jump nβ1. The frog can reach a vertex in B on jump n only if it reaches a vertex in either A or C on jump nβ1. Finally, the frog can reach a vertex in A on jump n only if it reaches a vertex in either A or B on jump nβ1. Let anβ,bnβ, and cnβ be the number of paths of length n that end in set A,B, and C, respectively. Then an+1β=anβ+bnβ,bn+1β=anβ+cnβ, and cn+1β=bnβ. Replacing the b terms with c terms yields an+1β=anβ+cn+1β and cn+2β=anβ+cnβ, which implies that anβ=cn+2ββcnβ. Finally, this gives cn+3ββcn+1β=cn+2ββcnβ+cn+1β, which implies that cn+3β=cn+2β+2cn+1ββcnβ. It is easy to see that c0β=0,c1β=0, and c2β=1. From the recursive formula, it is easy to complete the following table.
ncnββ00β10β21β31β43β54β69β714β828β947β1089β11155ββ
The frog can end at E on jump n if it enters C on the jump nβ1. Thus the number of paths of no more than 12 jumps that end at E is 0+0+1+1+3+ 4+9+14+28+47+89+155=351β.
The problems on this page are the property of the MAA's American Mathematics Competitions