The bash script calc_functions lists the individual functions that can formed from logic cells having from 1-4 inputs. The script header has more information on how the script works.

The output for a 4 input cell can be viewed at calc_functions.log.

The summary results are shown in the table below.

Number of cell inputs   1     2     3     4  
Number of functions 4   12  80  3984