Problem

Source:

Tags: analytic geometry, graphing lines, slope, rotation, geometry, geometric transformation, reflection



Find the number of finite sequences $ \{a_1,a_2,\ldots,a_{2n+1}\}$, formed with nonnegative integers, for which $ a_1=a_{2n+1}=0$ and $ |a_k -a_{k+1}|=1$, for all $ k\in\{1,2,\ldots,2n\}$.