Arrangements and Combinations · Lucas Theorem and the Sierpiński Triangle (Optional)
Lesson 12
For \(p=2\), Lucas's theorem becomes especially clean. Since each binary digit is either \(0\) or \(1\), \[\binom{n}{k}\equiv 1\pmod 2\] exactly when every binary \(1\)-digit of \(k\) occurs only in a position where \(n\) also has a \(1\)-digit.
In bit language, this condition is
=11/image0.png)