Problem

Source: HKTST1 2017 P4

Tags: combinatorics



Consider the sequences with 2016 terms formed by the digits 1, 2, 3, and 4. Find the number of those sequences containing an even number of the digit 1.