Guichard-Combinatorics-Graph-Theory · Problem 3.1.9
Generating Functions
Mathematics — Probability · generating-functions-counting
Problem
Suppose we have a large supply of blue and green candles, and one gold candle. How many collections of n candles are there in which the number of blue candles is even, the number of green candles is any number, and the number of gold candles is at most one?