Question 34
Using the digits $0,1,2,3,4$, find the number of $13$-digit sequences that can be written so that the difference between any two consecutive digits is $1$.
Examples of such $13$-digit sequences are $0123432123432$, $2323432321234$ and $3210101234323$.
Examples of such $13$-digit sequences are $0123432123432$, $2323432321234$ and $3210101234323$.