a=4 b=0 N=8 solution #1 (g=192): 0: 0000 1: 0011 2: 0101 3: 0110 4: 1001 5: 1010 6: 1100 7: 1111 That was all - 1 solution