
 Output:
 Sigmoid function pattern 

The number of “1” is less than or equal to 1 (the position does not matter).  0001  0000 
The number of “1” is equal to 2 (the position does not matter).  0010  0011 
The number of “1” is equal to 3 (the position does not matter).  0100  1101 
The number of “1” is equal to 4.  1000  1111 
