Text
In how many ways can the six digits (each used once) be arranged in a row so that even and odd digits alternate?
Solution
There are odd digits () and even (). Alternation is possible in two patterns: or . In each pattern the odd digits fill their reserved positions in ways and the even ones fill the others in ways. With the two patterns: