Skip to content / Đến nội dung
ThichHocToan.com

SMO 2009 Junior Round 1 Question 34

SMO · SMO 2009 Junior Round 1

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$.