International Mathematical Olympiad 1979 Problem 6
Let and be opposite vertices of a regular octagon. A frog starts jumping at vertex . From any vertex of the octagon except it may jump to either of the two adjacent vertices. When it reaches vertex the frog stops and stays there. Let be the number of distinct paths of exactly jumps ending at Prove that
where and
Note. A path of jumps is a sequence of vertices such that
(i)
(ii) for every is distinct from
(iii) for every and are adjacent.