population count of 4 bits
sum of bits 1 & 2
sum of bits 3 & 4
1st bit
2nd bit
3rd bit
4th bit