Some of the functions for n=2.
OR function
| 0 1 _____ _____ ___ _____ ____ ___ ____ ____ 0 0 | 0 0 | 0 1 0 1 | 1 1 | 1 1 1 0 | 1 1 1 | 1
0111=710
Rules to remember
These rules fully characterize the function.