Practice problem
Recognizing Bijections (Double-Counting) in Combinatorics
How many finite sequences of nonnegative integers are there such that (i) the sum of the elements is 10; (ii) the first and last elements are both positive; and (iii) among every pair of adjacent integers in the sequence, at least one is positive.
Source: 2012-2013 Fall Online Math Open