Every move a frog jumps from one vertex of a tetrahedron to another vertex. Suppose he starts at a certain vertex... Call it A. How many different ways are there for it to wind up on A, the same vertex as he started, given that he makes 17 jumps in all?
Image credit: commons.wikimedia.org