a=13 b=0 N=32 solution #1 (g=18432): 0: 0000000000000 1: 0000000011111 2: 0000111100001 3: 0000111111110 4: 0011001100110 5: 0011001111001 6: 0011110000111 7: 0011110011000 8: 0101010101010 9: 0101010110101 10: 0101101001011 11: 0101101010100 12: 0110011001100 13: 0110011010011 14: 0110100101101 15: 0110100110010 16: 1001011001101 17: 1001011010010 18: 1001100101100 19: 1001100110011 20: 1010010101011 21: 1010010110100 22: 1010101001010 23: 1010101010101 24: 1100001100111 25: 1100001111000 26: 1100110000110 27: 1100110011001 28: 1111000000001 29: 1111000011110 30: 1111111100000 31: 1111111111111 solution #2 (g=18432): 0: 0000000000000 1: 0000000011111 2: 0000111100001 3: 0000111111110 4: 0011001100110 5: 0011001111001 6: 0011110000111 7: 0011110011000 8: 0101010101010 9: 0101010110101 10: 0101101001011 11: 0101101010100 12: 0110011001101 13: 0110011010010 14: 0110100101100 15: 0110100110011 16: 1001011001100 17: 1001011010011 18: 1001100101101 19: 1001100110010 20: 1010010101011 21: 1010010110100 22: 1010101001010 23: 1010101010101 24: 1100001100111 25: 1100001111000 26: 1100110000110 27: 1100110011001 28: 1111000000001 29: 1111000011110 30: 1111111100000 31: 1111111111111 solution #3 (g=1024): 0: 0000000000000 1: 0000000011111 2: 0000111100011 3: 0000111111100 4: 0011001100100 5: 0011001111011 6: 0011110000111 7: 0011110011000 8: 0101010101001 9: 0101010110110 10: 0101101001010 11: 0101101010101 12: 0110011001110 13: 0110011010001 14: 0110100101101 15: 0110100110010 16: 1001011001101 17: 1001011010010 18: 1001100101110 19: 1001100110001 20: 1010010101010 21: 1010010110101 22: 1010101001001 23: 1010101010110 24: 1100001100111 25: 1100001111000 26: 1100110000100 27: 1100110011011 28: 1111000000011 29: 1111000011100 30: 1111111100000 31: 1111111111111 solution #4 (g=1024): 0: 0000000000000 1: 0000000011111 2: 0000111100001 3: 0000111111110 4: 0011001100110 5: 0011001111001 6: 0011110000111 7: 0011110011000 8: 0101010101010 9: 0101010110101 10: 0101101001101 11: 0101101010010 12: 0110011001011 13: 0110011010100 14: 0110100101100 15: 0110100110011 16: 1001011001100 17: 1001011010011 18: 1001100101011 19: 1001100110100 20: 1010010101101 21: 1010010110010 22: 1010101001010 23: 1010101010101 24: 1100001100111 25: 1100001111000 26: 1100110000110 27: 1100110011001 28: 1111000000001 29: 1111000011110 30: 1111111100000 31: 1111111111111 solution #5 (g=768): 0: 0000000000000 1: 0000000011111 2: 0000111100011 3: 0000111111100 4: 0011001100101 5: 0011001111010 6: 0011110000110 7: 0011110011001 8: 0101010101000 9: 0101010110111 10: 0101101001110 11: 0101101010001 12: 0110011001011 13: 0110011010100 14: 0110100101101 15: 0110100110010 16: 1001011001101 17: 1001011010010 18: 1001100101011 19: 1001100110100 20: 1010010101110 21: 1010010110001 22: 1010101001000 23: 1010101010111 24: 1100001100110 25: 1100001111001 26: 1100110000101 27: 1100110011010 28: 1111000000011 29: 1111000011100 30: 1111111100000 31: 1111111111111 solution #6 (g=768): 0: 0000000000000 1: 0000000011111 2: 0000111100001 3: 0000111111110 4: 0011001100110 5: 0011001111001 6: 0011110001010 7: 0011110010101 8: 0101010100111 9: 0101010111000 10: 0101101001101 11: 0101101010010 12: 0110011001011 13: 0110011010100 14: 0110100101100 15: 0110100110011 16: 1001011001100 17: 1001011010011 18: 1001100101011 19: 1001100110100 20: 1010010101101 21: 1010010110010 22: 1010101000111 23: 1010101011000 24: 1100001101010 25: 1100001110101 26: 1100110000110 27: 1100110011001 28: 1111000000001 29: 1111000011110 30: 1111111100000 31: 1111111111111 solution #7 (g=1152): 0: 0000000000000 1: 0000000111111 2: 0000111000111 3: 0000111111000 4: 0011001001001 5: 0011001110110 6: 0011110001110 7: 0011110110001 8: 0101010010010 9: 0101010101101 10: 0101101010101 11: 0101101101010 12: 0110011011100 13: 0110011100011 14: 0110100011011 15: 0110100100100 16: 1001011011011 17: 1001011100100 18: 1001100011100 19: 1001100100011 20: 1010010010101 21: 1010010101010 22: 1010101010010 23: 1010101101101 24: 1100001001110 25: 1100001110001 26: 1100110001001 27: 1100110110110 28: 1111000000111 29: 1111000111000 30: 1111111000000 31: 1111111111111 solution #8 (g=768): 0: 0000000000000 1: 0000000111111 2: 0000111000011 3: 0000111111100 4: 0011001001100 5: 0011001110011 6: 0011110001111 7: 0011110110000 8: 0101010010101 9: 0101010101010 10: 0101101011010 11: 0101101100101 12: 0110011010110 13: 0110011101001 14: 0110100011001 15: 0110100100110 16: 1001011011001 17: 1001011100110 18: 1001100010110 19: 1001100101001 20: 1010010011010 21: 1010010100101 22: 1010101010101 23: 1010101101010 24: 1100001001111 25: 1100001110000 26: 1100110001100 27: 1100110110011 28: 1111000000011 29: 1111000111100 30: 1111111000000 31: 1111111111111 solution #9 (g=128): 0: 0000000000000 1: 0000000111111 2: 0000111000011 3: 0000111111100 4: 0011001001101 5: 0011001110010 6: 0011110001110 7: 0011110110001 8: 0101010010100 9: 0101010101011 10: 0101101011010 11: 0101101100101 12: 0110011010111 13: 0110011101000 14: 0110100011001 15: 0110100100110 16: 1001011011001 17: 1001011100110 18: 1001100010111 19: 1001100101000 20: 1010010011010 21: 1010010100101 22: 1010101010100 23: 1010101101011 24: 1100001001110 25: 1100001110001 26: 1100110001101 27: 1100110110010 28: 1111000000011 29: 1111000111100 30: 1111111000000 31: 1111111111111 solution #10 (g=192): 0: 0000000000000 1: 0000000111111 2: 0000111000011 3: 0000111111100 4: 0011001001100 5: 0011001110011 6: 0011110010101 7: 0011110101010 8: 0101010001111 9: 0101010110000 10: 0101101011010 11: 0101101100101 12: 0110011010110 13: 0110011101001 14: 0110100011001 15: 0110100100110 16: 1001011011001 17: 1001011100110 18: 1001100010110 19: 1001100101001 20: 1010010011010 21: 1010010100101 22: 1010101001111 23: 1010101110000 24: 1100001010101 25: 1100001101010 26: 1100110001100 27: 1100110110011 28: 1111000000011 29: 1111000111100 30: 1111111000000 31: 1111111111111 solution #11 (g=768): 0: 0000000000000 1: 0000000011111 2: 0000111100001 3: 0000111111110 4: 0011001100110 5: 0011001111001 6: 0011110000111 7: 0011110011000 8: 0101010101010 9: 0101011001101 10: 0101100110101 11: 0101101010010 12: 0110010110011 13: 0110011010100 14: 0110100101100 15: 0110101001011 16: 1001010110100 17: 1001011010011 18: 1001100101011 19: 1001101001100 20: 1010010101101 21: 1010011001010 22: 1010100110010 23: 1010101010101 24: 1100001100111 25: 1100001111000 26: 1100110000110 27: 1100110011001 28: 1111000000001 29: 1111000011110 30: 1111111100000 31: 1111111111111 solution #12 (g=192): 0: 0000000000000 1: 0000000011111 2: 0000111100011 3: 0000111111100 4: 0011001100101 5: 0011001111010 6: 0011110000110 7: 0011110011001 8: 0101010101000 9: 0101011001111 10: 0101100110110 11: 0101101010001 12: 0110010110011 13: 0110011010100 14: 0110100101101 15: 0110101001010 16: 1001010110101 17: 1001011010010 18: 1001100101011 19: 1001101001100 20: 1010010101110 21: 1010011001001 22: 1010100110000 23: 1010101010111 24: 1100001100110 25: 1100001111001 26: 1100110000101 27: 1100110011010 28: 1111000000011 29: 1111000011100 30: 1111111100000 31: 1111111111111 That was all - 12 solutions