MathLabs

Problem 6

Let A and E be opposite vertices of a regular octagon. A frog starts at A and jumps to an adjacent vertex until it reaches E and stops. If a_n counts paths of exactly n jumps ending at E, prove a2n−1=0a_{2n-1}=0 and a2n=(2+2)n−1−(2−2)n−12a_{2n}=\frac{(2+\sqrt{2})^{n-1}-(2-\sqrt{2})^{n-1}}{\sqrt{2}} for n=1,2,3,…n=1,2,3,\ldots.
Step 2 of 5: Step 2
un=a2n,u1=0, u2=2, u3=8u_n=a_{2n},\quad u_1=0,\ u_2=2,\ u_3=8
Detailed analysis

Set un=a2nu_n=a_{2n}. Direct enumeration gives u1=0,u2=2,u3=8u_1=0,u_2=2,u_3=8.