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 5 of 5: Step 5
C=1/2,D=−1/2C=1/\sqrt2,\quad D=-1/\sqrt2
Detailed analysis

The initial values u1=0,u2=2u_1=0,u_2=2 give C=1/2C=1/\sqrt2 and D=−1/2D=-1/\sqrt2, yielding the stated formula.