Answer to puzzle 146: Odds and evens
- The number of different possible games is Fn = (Phin − phin) /
, where Fn is the nth Fibonacci number, defined by the recurrence equation F1 = 1, F2 = 1, Fk = Fk−1 + Fk−2, for k > 2, and Phi = (1 +
)/2 and phi = (1 −
)/2 are the roots of the quadratic equation x2 − x − 1 = 0..
- The number of possible games of length k is given by
, where k must have the same parity as n.