Browse · MATH
Printjmc
counting and probability intermediate
Problem
The first six rows of Pascal's triangle are shown below, beginning with row zero. Except for the at each end, row consists of only even numbers, as does row How many of the first rows have this property? (Don't include row or row ).
Solution
Each number in Pascal's triangle is the sum of the two numbers above it. If we use and to stand for "even" and "odd", then by using the rules and we can efficiently compute the parity (even- or oddness) of the entries without computing the entries themselves: \begin{array}{c *{40}{@{}c}}
&&&&&&&&&&&&&&&&&&&&1&&&&&&&&&&&&&&&&&&&&\\
&&&&&&&&&&&&&&&&&&&1&&1&&&&&&&&&&&&&&&&&&&\\
&&&&&&&&&&&&&&&&&&1&&0&&1&&&&&&&&&&&&&&&&&&\\
&&&&&&&&&&&&&&&&&1&&1&&1&&1&&&&&&&&&&&&&&&&&\\
&&&&&&&&&&&&&&&&1&&0&&0&&0&&1&&&&&&&&&&&&&&&&\\
&&&&&&&&&&&&&&&1&&1&&0&&0&&1&&1&&&&&&&&&&&&&&&\\
&&&&&&&&&&&&&&1&&0&&1&&0&&1&&0&&1&&&&&&&&&&&&&&\\
&&&&&&&&&&&&&1&&1&&1&&1&&1&&1&&1&&1&&&&&&&&&&&&&\\
&&&&&&&&&&&&1&&0&&0&&0&&0&&0&&0&&0&&1&&&&&&&&&&&&\\
&&&&&&&&&&&1&&1&&0&&0&&0&&0&&0&&0&&1&&1&&&&&&&&&&&\\
&&&&&&&&&&1&&0&&1&&0&&0&&0&&0&&0&&1&&0&&1&&&&&&&&&&\\
&&&&&&&&&1&&1&&1&&1&&0&&0&&0&&0&&1&&1&&1&&1&&&&&&&&&\\
&&&&&&&&1&&0&&0&&0&&1&&0&&0&&0&&1&&0&&0&&0&&1&&&&&&&&\\
&&&&&&&1&&1&&0&&0&&1&&1&&0&&0&&1&&1&&0&&0&&1&&1&&&&&&&\\
&&&&&&1&&0&&1&&0&&1&&0&&1&&0&&1&&0&&1&&0&&1&&0&&1&&&&&&\\
&&&&&1&&1&&1&&1&&1&&1&&1&&1&&1&&1&&1&&1&&1&&1&&1&&1&&&&&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