***************************************************************************** * www.FindStat.org - The Combinatorial Statistic Finder * * * * Copyright (C) 2019 The FindStatCrew * * * * This information is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * ***************************************************************************** ----------------------------------------------------------------------------- Statistic identifier: St000296 ----------------------------------------------------------------------------- Collection: Binary words ----------------------------------------------------------------------------- Description: The length of the symmetric border of a binary word. The symmetric border of a word is the longest word which is a prefix and its reverse is a suffix. The statistic value is equal to the length of the word if and only if the word is [[https://en.wikipedia.org/wiki/Palindrome|palindromic]]. ----------------------------------------------------------------------------- References: ----------------------------------------------------------------------------- Code: def statistic(word): value = 0 n = len(word) while value <= n and list(word[:value]) == list(reversed(word[n-value:])): value += 1 return value - 1 ----------------------------------------------------------------------------- Statistic values: 0 => 1 1 => 1 00 => 2 01 => 0 10 => 0 11 => 2 000 => 3 001 => 0 010 => 3 011 => 0 100 => 0 101 => 3 110 => 0 111 => 3 0000 => 4 0001 => 0 0010 => 1 0011 => 0 0100 => 1 0101 => 0 0110 => 4 0111 => 0 1000 => 0 1001 => 4 1010 => 0 1011 => 1 1100 => 0 1101 => 1 1110 => 0 1111 => 4 00000 => 5 00001 => 0 00010 => 1 00011 => 0 00100 => 5 00101 => 0 00110 => 1 00111 => 0 01000 => 1 01001 => 0 01010 => 5 01011 => 0 01100 => 1 01101 => 0 01110 => 5 01111 => 0 10000 => 0 10001 => 5 10010 => 0 10011 => 1 10100 => 0 10101 => 5 10110 => 0 10111 => 1 11000 => 0 11001 => 1 11010 => 0 11011 => 5 11100 => 0 11101 => 1 11110 => 0 11111 => 5 000000 => 6 000001 => 0 000010 => 1 000011 => 0 000100 => 2 000101 => 0 000110 => 1 000111 => 0 001000 => 2 001001 => 0 001010 => 1 001011 => 0 001100 => 6 001101 => 0 001110 => 1 001111 => 0 010000 => 1 010001 => 0 010010 => 6 010011 => 0 010100 => 1 010101 => 0 010110 => 2 010111 => 0 011000 => 1 011001 => 0 011010 => 2 011011 => 0 011100 => 1 011101 => 0 011110 => 6 011111 => 0 100000 => 0 100001 => 6 100010 => 0 100011 => 1 100100 => 0 100101 => 2 100110 => 0 100111 => 1 101000 => 0 101001 => 2 101010 => 0 101011 => 1 101100 => 0 101101 => 6 101110 => 0 101111 => 1 110000 => 0 110001 => 1 110010 => 0 110011 => 6 110100 => 0 110101 => 1 110110 => 0 110111 => 2 111000 => 0 111001 => 1 111010 => 0 111011 => 2 111100 => 0 111101 => 1 111110 => 0 111111 => 6 0000000 => 7 0000001 => 0 0000010 => 1 0000011 => 0 0000100 => 2 0000101 => 0 0000110 => 1 0000111 => 0 0001000 => 7 0001001 => 0 0001010 => 1 0001011 => 0 0001100 => 2 0001101 => 0 0001110 => 1 0001111 => 0 0010000 => 2 0010001 => 0 0010010 => 1 0010011 => 0 0010100 => 7 0010101 => 0 0010110 => 1 0010111 => 0 0011000 => 2 0011001 => 0 0011010 => 1 0011011 => 0 0011100 => 7 0011101 => 0 0011110 => 1 0011111 => 0 0100000 => 1 0100001 => 0 0100010 => 7 0100011 => 0 0100100 => 1 0100101 => 0 0100110 => 2 0100111 => 0 0101000 => 1 0101001 => 0 0101010 => 7 0101011 => 0 0101100 => 1 0101101 => 0 0101110 => 2 0101111 => 0 0110000 => 1 0110001 => 0 0110010 => 2 0110011 => 0 0110100 => 1 0110101 => 0 0110110 => 7 0110111 => 0 0111000 => 1 0111001 => 0 0111010 => 2 0111011 => 0 0111100 => 1 0111101 => 0 0111110 => 7 0111111 => 0 1000000 => 0 1000001 => 7 1000010 => 0 1000011 => 1 1000100 => 0 1000101 => 2 1000110 => 0 1000111 => 1 1001000 => 0 1001001 => 7 1001010 => 0 1001011 => 1 1001100 => 0 1001101 => 2 1001110 => 0 1001111 => 1 1010000 => 0 1010001 => 2 1010010 => 0 1010011 => 1 1010100 => 0 1010101 => 7 1010110 => 0 1010111 => 1 1011000 => 0 1011001 => 2 1011010 => 0 1011011 => 1 1011100 => 0 1011101 => 7 1011110 => 0 1011111 => 1 1100000 => 0 1100001 => 1 1100010 => 0 1100011 => 7 1100100 => 0 1100101 => 1 1100110 => 0 1100111 => 2 1101000 => 0 1101001 => 1 1101010 => 0 1101011 => 7 1101100 => 0 1101101 => 1 1101110 => 0 1101111 => 2 1110000 => 0 1110001 => 1 1110010 => 0 1110011 => 2 1110100 => 0 1110101 => 1 1110110 => 0 1110111 => 7 1111000 => 0 1111001 => 1 1111010 => 0 1111011 => 2 1111100 => 0 1111101 => 1 1111110 => 0 1111111 => 7 00000000 => 8 00000001 => 0 00000010 => 1 00000011 => 0 00000100 => 2 00000101 => 0 00000110 => 1 00000111 => 0 00001000 => 3 00001001 => 0 00001010 => 1 00001011 => 0 00001100 => 2 00001101 => 0 00001110 => 1 00001111 => 0 00010000 => 3 00010001 => 0 00010010 => 1 00010011 => 0 00010100 => 2 00010101 => 0 00010110 => 1 00010111 => 0 00011000 => 8 00011001 => 0 00011010 => 1 00011011 => 0 00011100 => 2 00011101 => 0 00011110 => 1 00011111 => 0 00100000 => 2 00100001 => 0 00100010 => 1 00100011 => 0 00100100 => 8 00100101 => 0 00100110 => 1 00100111 => 0 00101000 => 2 00101001 => 0 00101010 => 1 00101011 => 0 00101100 => 3 00101101 => 0 00101110 => 1 00101111 => 0 00110000 => 2 00110001 => 0 00110010 => 1 00110011 => 0 00110100 => 3 00110101 => 0 00110110 => 1 00110111 => 0 00111000 => 2 00111001 => 0 00111010 => 1 00111011 => 0 00111100 => 8 00111101 => 0 00111110 => 1 00111111 => 0 01000000 => 1 01000001 => 0 01000010 => 8 01000011 => 0 01000100 => 1 01000101 => 0 01000110 => 2 01000111 => 0 01001000 => 1 01001001 => 0 01001010 => 3 01001011 => 0 01001100 => 1 01001101 => 0 01001110 => 2 01001111 => 0 01010000 => 1 01010001 => 0 01010010 => 3 01010011 => 0 01010100 => 1 01010101 => 0 01010110 => 2 01010111 => 0 01011000 => 1 01011001 => 0 01011010 => 8 01011011 => 0 01011100 => 1 01011101 => 0 01011110 => 2 01011111 => 0 01100000 => 1 01100001 => 0 01100010 => 2 01100011 => 0 01100100 => 1 01100101 => 0 01100110 => 8 01100111 => 0 01101000 => 1 01101001 => 0 01101010 => 2 01101011 => 0 01101100 => 1 01101101 => 0 01101110 => 3 01101111 => 0 01110000 => 1 01110001 => 0 01110010 => 2 01110011 => 0 01110100 => 1 01110101 => 0 01110110 => 3 01110111 => 0 01111000 => 1 01111001 => 0 01111010 => 2 01111011 => 0 01111100 => 1 01111101 => 0 01111110 => 8 01111111 => 0 10000000 => 0 10000001 => 8 10000010 => 0 10000011 => 1 10000100 => 0 10000101 => 2 10000110 => 0 10000111 => 1 10001000 => 0 10001001 => 3 10001010 => 0 10001011 => 1 10001100 => 0 10001101 => 2 10001110 => 0 10001111 => 1 10010000 => 0 10010001 => 3 10010010 => 0 10010011 => 1 10010100 => 0 10010101 => 2 10010110 => 0 10010111 => 1 10011000 => 0 10011001 => 8 10011010 => 0 10011011 => 1 10011100 => 0 10011101 => 2 10011110 => 0 10011111 => 1 10100000 => 0 10100001 => 2 10100010 => 0 10100011 => 1 10100100 => 0 10100101 => 8 10100110 => 0 10100111 => 1 10101000 => 0 10101001 => 2 10101010 => 0 10101011 => 1 10101100 => 0 10101101 => 3 10101110 => 0 10101111 => 1 10110000 => 0 10110001 => 2 10110010 => 0 10110011 => 1 10110100 => 0 10110101 => 3 10110110 => 0 10110111 => 1 10111000 => 0 10111001 => 2 10111010 => 0 10111011 => 1 10111100 => 0 10111101 => 8 10111110 => 0 10111111 => 1 11000000 => 0 11000001 => 1 11000010 => 0 11000011 => 8 11000100 => 0 11000101 => 1 11000110 => 0 11000111 => 2 11001000 => 0 11001001 => 1 11001010 => 0 11001011 => 3 11001100 => 0 11001101 => 1 11001110 => 0 11001111 => 2 11010000 => 0 11010001 => 1 11010010 => 0 11010011 => 3 11010100 => 0 11010101 => 1 11010110 => 0 11010111 => 2 11011000 => 0 11011001 => 1 11011010 => 0 11011011 => 8 11011100 => 0 11011101 => 1 11011110 => 0 11011111 => 2 11100000 => 0 11100001 => 1 11100010 => 0 11100011 => 2 11100100 => 0 11100101 => 1 11100110 => 0 11100111 => 8 11101000 => 0 11101001 => 1 11101010 => 0 11101011 => 2 11101100 => 0 11101101 => 1 11101110 => 0 11101111 => 3 11110000 => 0 11110001 => 1 11110010 => 0 11110011 => 2 11110100 => 0 11110101 => 1 11110110 => 0 11110111 => 3 11111000 => 0 11111001 => 1 11111010 => 0 11111011 => 2 11111100 => 0 11111101 => 1 11111110 => 0 11111111 => 8 000000000 => 9 000000001 => 0 000000010 => 1 000000011 => 0 000000100 => 2 000000101 => 0 000000110 => 1 000000111 => 0 000001000 => 3 000001001 => 0 000001010 => 1 000001011 => 0 000001100 => 2 000001101 => 0 000001110 => 1 000001111 => 0 000010000 => 9 000010001 => 0 000010010 => 1 000010011 => 0 000010100 => 2 000010101 => 0 000010110 => 1 000010111 => 0 000011000 => 3 000011001 => 0 000011010 => 1 000011011 => 0 000011100 => 2 000011101 => 0 000011110 => 1 000011111 => 0 000100000 => 3 000100001 => 0 000100010 => 1 000100011 => 0 000100100 => 2 000100101 => 0 000100110 => 1 000100111 => 0 000101000 => 9 000101001 => 0 000101010 => 1 000101011 => 0 000101100 => 2 000101101 => 0 000101110 => 1 000101111 => 0 000110000 => 3 000110001 => 0 000110010 => 1 000110011 => 0 000110100 => 2 000110101 => 0 000110110 => 1 000110111 => 0 000111000 => 9 000111001 => 0 000111010 => 1 000111011 => 0 000111100 => 2 000111101 => 0 000111110 => 1 000111111 => 0 001000000 => 2 001000001 => 0 001000010 => 1 001000011 => 0 001000100 => 9 001000101 => 0 001000110 => 1 001000111 => 0 001001000 => 2 001001001 => 0 001001010 => 1 001001011 => 0 001001100 => 3 001001101 => 0 001001110 => 1 001001111 => 0 001010000 => 2 001010001 => 0 001010010 => 1 001010011 => 0 001010100 => 9 001010101 => 0 001010110 => 1 001010111 => 0 001011000 => 2 001011001 => 0 001011010 => 1 001011011 => 0 001011100 => 3 001011101 => 0 001011110 => 1 001011111 => 0 001100000 => 2 001100001 => 0 001100010 => 1 001100011 => 0 001100100 => 3 001100101 => 0 001100110 => 1 001100111 => 0 001101000 => 2 001101001 => 0 001101010 => 1 001101011 => 0 001101100 => 9 001101101 => 0 001101110 => 1 001101111 => 0 001110000 => 2 001110001 => 0 001110010 => 1 001110011 => 0 001110100 => 3 001110101 => 0 001110110 => 1 001110111 => 0 001111000 => 2 001111001 => 0 001111010 => 1 001111011 => 0 001111100 => 9 001111101 => 0 001111110 => 1 001111111 => 0 010000000 => 1 010000001 => 0 010000010 => 9 010000011 => 0 010000100 => 1 010000101 => 0 010000110 => 2 010000111 => 0 010001000 => 1 010001001 => 0 010001010 => 3 010001011 => 0 010001100 => 1 010001101 => 0 010001110 => 2 010001111 => 0 010010000 => 1 010010001 => 0 010010010 => 9 010010011 => 0 010010100 => 1 010010101 => 0 010010110 => 2 010010111 => 0 010011000 => 1 010011001 => 0 010011010 => 3 010011011 => 0 010011100 => 1 010011101 => 0 010011110 => 2 010011111 => 0 010100000 => 1 010100001 => 0 010100010 => 3 010100011 => 0 010100100 => 1 010100101 => 0 010100110 => 2 010100111 => 0 010101000 => 1 010101001 => 0 010101010 => 9 010101011 => 0 010101100 => 1 010101101 => 0 010101110 => 2 010101111 => 0 010110000 => 1 010110001 => 0 010110010 => 3 010110011 => 0 010110100 => 1 010110101 => 0 010110110 => 2 010110111 => 0 010111000 => 1 010111001 => 0 010111010 => 9 010111011 => 0 010111100 => 1 010111101 => 0 010111110 => 2 010111111 => 0 011000000 => 1 011000001 => 0 011000010 => 2 011000011 => 0 011000100 => 1 011000101 => 0 011000110 => 9 011000111 => 0 011001000 => 1 011001001 => 0 011001010 => 2 011001011 => 0 011001100 => 1 011001101 => 0 011001110 => 3 011001111 => 0 011010000 => 1 011010001 => 0 011010010 => 2 011010011 => 0 011010100 => 1 011010101 => 0 011010110 => 9 011010111 => 0 011011000 => 1 011011001 => 0 011011010 => 2 011011011 => 0 011011100 => 1 011011101 => 0 011011110 => 3 011011111 => 0 011100000 => 1 011100001 => 0 011100010 => 2 011100011 => 0 011100100 => 1 011100101 => 0 011100110 => 3 011100111 => 0 011101000 => 1 011101001 => 0 011101010 => 2 011101011 => 0 011101100 => 1 011101101 => 0 011101110 => 9 011101111 => 0 011110000 => 1 011110001 => 0 011110010 => 2 011110011 => 0 011110100 => 1 011110101 => 0 011110110 => 3 011110111 => 0 011111000 => 1 011111001 => 0 011111010 => 2 011111011 => 0 011111100 => 1 011111101 => 0 011111110 => 9 011111111 => 0 100000000 => 0 100000001 => 9 100000010 => 0 100000011 => 1 100000100 => 0 100000101 => 2 100000110 => 0 100000111 => 1 100001000 => 0 100001001 => 3 100001010 => 0 100001011 => 1 100001100 => 0 100001101 => 2 100001110 => 0 100001111 => 1 100010000 => 0 100010001 => 9 100010010 => 0 100010011 => 1 100010100 => 0 100010101 => 2 100010110 => 0 100010111 => 1 100011000 => 0 100011001 => 3 100011010 => 0 100011011 => 1 100011100 => 0 100011101 => 2 100011110 => 0 100011111 => 1 100100000 => 0 100100001 => 3 100100010 => 0 100100011 => 1 100100100 => 0 100100101 => 2 100100110 => 0 100100111 => 1 100101000 => 0 100101001 => 9 100101010 => 0 100101011 => 1 100101100 => 0 100101101 => 2 100101110 => 0 100101111 => 1 100110000 => 0 100110001 => 3 100110010 => 0 100110011 => 1 100110100 => 0 100110101 => 2 100110110 => 0 100110111 => 1 100111000 => 0 100111001 => 9 100111010 => 0 100111011 => 1 100111100 => 0 100111101 => 2 100111110 => 0 100111111 => 1 101000000 => 0 101000001 => 2 101000010 => 0 101000011 => 1 101000100 => 0 101000101 => 9 101000110 => 0 101000111 => 1 101001000 => 0 101001001 => 2 101001010 => 0 101001011 => 1 101001100 => 0 101001101 => 3 101001110 => 0 101001111 => 1 101010000 => 0 101010001 => 2 101010010 => 0 101010011 => 1 101010100 => 0 101010101 => 9 101010110 => 0 101010111 => 1 101011000 => 0 101011001 => 2 101011010 => 0 101011011 => 1 101011100 => 0 101011101 => 3 101011110 => 0 101011111 => 1 101100000 => 0 101100001 => 2 101100010 => 0 101100011 => 1 101100100 => 0 101100101 => 3 101100110 => 0 101100111 => 1 101101000 => 0 101101001 => 2 101101010 => 0 101101011 => 1 101101100 => 0 101101101 => 9 101101110 => 0 101101111 => 1 101110000 => 0 101110001 => 2 101110010 => 0 101110011 => 1 101110100 => 0 101110101 => 3 101110110 => 0 101110111 => 1 101111000 => 0 101111001 => 2 101111010 => 0 101111011 => 1 101111100 => 0 101111101 => 9 101111110 => 0 101111111 => 1 110000000 => 0 110000001 => 1 110000010 => 0 110000011 => 9 110000100 => 0 110000101 => 1 110000110 => 0 110000111 => 2 110001000 => 0 110001001 => 1 110001010 => 0 110001011 => 3 110001100 => 0 110001101 => 1 110001110 => 0 110001111 => 2 110010000 => 0 110010001 => 1 110010010 => 0 110010011 => 9 110010100 => 0 110010101 => 1 110010110 => 0 110010111 => 2 110011000 => 0 110011001 => 1 110011010 => 0 110011011 => 3 110011100 => 0 110011101 => 1 110011110 => 0 110011111 => 2 110100000 => 0 110100001 => 1 110100010 => 0 110100011 => 3 110100100 => 0 110100101 => 1 110100110 => 0 110100111 => 2 110101000 => 0 110101001 => 1 110101010 => 0 110101011 => 9 110101100 => 0 110101101 => 1 110101110 => 0 110101111 => 2 110110000 => 0 110110001 => 1 110110010 => 0 110110011 => 3 110110100 => 0 110110101 => 1 110110110 => 0 110110111 => 2 110111000 => 0 110111001 => 1 110111010 => 0 110111011 => 9 110111100 => 0 110111101 => 1 110111110 => 0 110111111 => 2 111000000 => 0 111000001 => 1 111000010 => 0 111000011 => 2 111000100 => 0 111000101 => 1 111000110 => 0 111000111 => 9 111001000 => 0 111001001 => 1 111001010 => 0 111001011 => 2 111001100 => 0 111001101 => 1 111001110 => 0 111001111 => 3 111010000 => 0 111010001 => 1 111010010 => 0 111010011 => 2 111010100 => 0 111010101 => 1 111010110 => 0 111010111 => 9 111011000 => 0 111011001 => 1 111011010 => 0 111011011 => 2 111011100 => 0 111011101 => 1 111011110 => 0 111011111 => 3 111100000 => 0 111100001 => 1 111100010 => 0 111100011 => 2 111100100 => 0 111100101 => 1 111100110 => 0 111100111 => 3 111101000 => 0 111101001 => 1 111101010 => 0 111101011 => 2 111101100 => 0 111101101 => 1 111101110 => 0 111101111 => 9 111110000 => 0 111110001 => 1 111110010 => 0 111110011 => 2 111110100 => 0 111110101 => 1 111110110 => 0 111110111 => 3 111111000 => 0 111111001 => 1 111111010 => 0 111111011 => 2 111111100 => 0 111111101 => 1 111111110 => 0 111111111 => 9 1010101010 => 0 1010101100 => 0 1010110010 => 0 1010110100 => 0 1010111000 => 0 1011001010 => 0 1011001100 => 0 1011010010 => 0 1011010100 => 0 1011011000 => 0 1011100010 => 0 1011100100 => 0 1011101000 => 0 1011110000 => 0 1100101010 => 0 1100101100 => 0 1100110010 => 0 1100110100 => 0 1100111000 => 0 1101001010 => 0 1101001100 => 0 1101010010 => 0 1101010100 => 0 1101011000 => 0 1101100010 => 0 1101100100 => 0 1101101000 => 0 1101110000 => 0 1110001010 => 0 1110001100 => 0 1110010010 => 0 1110010100 => 0 1110011000 => 0 1110100010 => 0 1110100100 => 0 1110101000 => 0 1110110000 => 0 1111000010 => 0 1111000100 => 0 1111001000 => 0 1111010000 => 0 1111100000 => 0 1111111110 => 0 1111111101 => 1 1111000001 => 1 1110111110 => 0 1110100001 => 1 1110011110 => 0 1110010001 => 1 1110001001 => 1 1110000101 => 1 1101111110 => 0 1101100001 => 1 1101010001 => 1 1101001110 => 0 1101001001 => 1 1101000101 => 1 1100110001 => 1 1100101001 => 1 1100100110 => 0 1100100101 => 1 1100011001 => 1 1100010101 => 1 1100010010 => 0 1100001000 => 0 1011111110 => 0 1011111101 => 10 1011100001 => 2 1011010001 => 2 1011001001 => 2 1011000101 => 3 1010111110 => 0 1010110001 => 2 1010101001 => 2 1010100110 => 0 1010100101 => 4 1010011010 => 0 1010011001 => 2 1010010110 => 0 1010010101 => 4 1010001110 => 0 1001111110 => 0 1001111000 => 0 1001110100 => 0 1001110001 => 3 1001101100 => 0 1001101010 => 0 1001101001 => 4 1001100110 => 0 1001100101 => 2 1001011110 => 0 1001011010 => 0 1001011001 => 4 1001010110 => 0 1001010101 => 2 1001001110 => 0 1000111110 => 0 1000111100 => 0 1000111010 => 0 1000110110 => 0 1000101110 => 0 1000011110 => 0 1000010110 => 0 1000001110 => 0 1000001010 => 0 1000000110 => 0 1000000100 => 0 1000000010 => 0 1000000000 => 0 0111111111 => 0 0111111101 => 0 0111111001 => 0 0111110001 => 0 0111100001 => 0 0111000001 => 0 0110000001 => 0 0100000001 => 0 0000000001 => 0 0111111011 => 0 0111110101 => 0 0111101001 => 0 0111010001 => 0 0110100001 => 0 0101000001 => 0 0010000001 => 0 0101010101 => 0 0101010011 => 0 0101001101 => 0 0101001011 => 0 0101000111 => 0 0100110101 => 0 0100110011 => 0 0100101101 => 0 0100101011 => 0 0100100111 => 0 0100011101 => 0 0100011011 => 0 0100010111 => 0 0100001111 => 0 0011010101 => 0 0011010011 => 0 0011001101 => 0 0011001011 => 0 0011000111 => 0 0010110101 => 0 0010110011 => 0 0010101101 => 0 0010101011 => 0 0010100111 => 0 0010011101 => 0 0010011011 => 0 0010010111 => 0 0010001111 => 0 0001110101 => 0 0001110011 => 0 0001101101 => 0 0001101011 => 0 0001100111 => 0 0001011101 => 0 0001011011 => 0 0001010111 => 0 0001001111 => 0 0000111101 => 0 0000111011 => 0 0000110111 => 0 0000101111 => 0 0000011111 => 0 0100000010 => 10 0010111100 => 3 0011110100 => 3 0111010100 => 1 0000000010 => 1 0000111110 => 1 0100000000 => 1 0100000011 => 0 0100000111 => 0 0100011111 => 0 0100111111 => 0 0101111111 => 0 0100000101 => 0 0100001011 => 0 0100101111 => 0 0101011111 => 0 0110111111 => 0 0101010110 => 2 0101011001 => 0 0101011010 => 4 0101011100 => 1 0101100101 => 0 0101100110 => 2 0101101001 => 0 0101101010 => 4 0101101100 => 1 0101110001 => 0 0101110010 => 3 0101110100 => 1 0101111000 => 1 0110010101 => 0 0110010110 => 4 0110011001 => 0 0110011010 => 2 0110011100 => 1 0110100101 => 0 0110100110 => 4 0110101001 => 0 0110101010 => 2 0110101100 => 1 0110110001 => 0 0110110010 => 2 0110110100 => 1 0110111000 => 1 0111000101 => 0 0111000110 => 3 0111001001 => 0 0111001010 => 2 0111001100 => 1 0111010010 => 2 0111011000 => 1 0111100010 => 2 0111100100 => 1 0111101000 => 1 0111110000 => 1 0100000100 => 1 0011100110 => 1 0011101010 => 1 0011101100 => 4 0001101110 => 1 0010110110 => 1 0011110010 => 1 0001110110 => 1 0100111010 => 3 0010111010 => 1 0011111000 => 2 0001111010 => 1 0100111100 => 1 0001111100 => 2 0000000101 => 0 0000001101 => 0 0000011101 => 0 0001111101 => 0 0011111101 => 0 0000001001 => 0 0000010101 => 0 0000101101 => 0 0010111101 => 0 0101111101 => 0 10000000000 => 0 10000000010 => 0 10000000110 => 0 10000001110 => 0 10000011110 => 0 10000111110 => 0 10001111110 => 0 10011111110 => 0 10111111110 => 0 11111111110 => 0 10000000100 => 0 10000001010 => 0 10000010110 => 0 10000101110 => 0 10001011110 => 0 10010111110 => 0 10101111110 => 0 11011111110 => 0 10000010000 => 0 10000100010 => 0 10001000010 => 0 10000100100 => 0 10001001010 => 0 10001000100 => 0 10000101000 => 0 10010001010 => 0 10001010010 => 0 10010000100 => 0 10001001000 => 0 10010010010 => 0 10001010100 => 0 10010101010 => 0 10010001000 => 0 10100010010 => 0 10010100010 => 0 10010010100 => 0 10100101010 => 0 01111111111 => 0 01111111101 => 0 01111111001 => 0 01111110001 => 0 01111100001 => 0 01111000001 => 0 01110000001 => 0 01100000001 => 0 01000000001 => 0 00000000001 => 0 00000000010 => 1 10101010101 => 11 10101010010 => 0 10101001001 => 2 10101001010 => 0 10101000100 => 0 10100100101 => 11 10100100010 => 0 10100101001 => 2 10100100100 => 0 10100010001 => 2 10100010100 => 0 10100001000 => 0 10010010101 => 2 10010001001 => 11 10010100101 => 2 10010101001 => 11 10010100100 => 0 10010010001 => 3 10001000101 => 2 10001001001 => 3 10001010001 => 11 10000100001 => 11 01001010101 => 0 01001010010 => 11 01001001001 => 0 01001001010 => 3 01001000100 => 1 01000100101 => 0 01000100010 => 11 01000101001 => 0 01000101010 => 3 01000100100 => 1 01000010001 => 0 01000010010 => 4 01000010100 => 1 01000001000 => 1 01010010101 => 0 01010010010 => 3 01010001001 => 0 01010001010 => 11 01010000100 => 1 01010100101 => 0 01010100010 => 3 01010101001 => 0 01010101010 => 11 01010100100 => 1 01010010001 => 0 01010010100 => 1 01010001000 => 1 01001000101 => 0 01001000010 => 4 01001010001 => 0 01001010100 => 1 01001001000 => 1 01000100001 => 0 01000101000 => 1 01000010000 => 1 00100010101 => 0 00100010010 => 1 00100001001 => 0 00100001010 => 1 00100000100 => 11 00100100101 => 0 00100100010 => 1 00100101001 => 0 00100101010 => 1 00100100100 => 11 00100010001 => 0 00100010100 => 4 00100001000 => 2 00101000101 => 0 00101000010 => 1 00101001001 => 0 00101001010 => 1 00101000100 => 4 00101010001 => 0 00101010010 => 1 00101010100 => 11 00101001000 => 2 00100100001 => 0 00100101000 => 2 00100010000 => 2 00010000101 => 0 00010000010 => 1 00010001001 => 0 00010001010 => 1 00010000100 => 2 00010010001 => 0 00010010010 => 1 00010010100 => 2 00010001000 => 11 00010100001 => 0 00010100010 => 1 00010100100 => 2 00010101000 => 11 00010010000 => 3 00001000001 => 0 00001000010 => 1 00001000100 => 2 00001001000 => 3 00001010000 => 11 00000100000 => 11 01000000000 => 1 01000000011 => 0 01000000111 => 0 01000001111 => 0 01000011111 => 0 01000111111 => 0 01001111111 => 0 01011111111 => 0 00000000101 => 0 00000001101 => 0 00000011101 => 0 00000111101 => 0 00001111101 => 0 00011111101 => 0 00111111101 => 0 11111111101 => 1 101010101010 => 0 101010101100 => 0 101010110010 => 0 101010110100 => 0 101010111000 => 0 101011001010 => 0 101011001100 => 0 101011010010 => 0 101011010100 => 0 101011011000 => 0 101011100010 => 0 101011100100 => 0 101011101000 => 0 101011110000 => 0 101100101010 => 0 101100101100 => 0 101100110010 => 0 101100110100 => 0 101100111000 => 0 101101001010 => 0 101101001100 => 0 101101010010 => 0 101101010100 => 0 101101011000 => 0 101101100010 => 0 101101100100 => 0 101101101000 => 0 101101110000 => 0 101110001010 => 0 101110001100 => 0 101110010010 => 0 101110010100 => 0 101110011000 => 0 101110100010 => 0 101110100100 => 0 101110101000 => 0 101110110000 => 0 101111000010 => 0 101111000100 => 0 101111001000 => 0 101111010000 => 0 101111100000 => 0 110010101010 => 0 110010101100 => 0 110010110010 => 0 110010110100 => 0 110010111000 => 0 110011001010 => 0 110011001100 => 0 110011010010 => 0 110011010100 => 0 110011011000 => 0 110011100010 => 0 110011100100 => 0 110011101000 => 0 110011110000 => 0 110100101010 => 0 110100101100 => 0 110100110010 => 0 110100110100 => 0 110100111000 => 0 110101001010 => 0 110101001100 => 0 110101010010 => 0 110101010100 => 0 110101011000 => 0 110101100010 => 0 110101100100 => 0 110101101000 => 0 110101110000 => 0 110110001010 => 0 110110001100 => 0 110110010010 => 0 110110010100 => 0 110110011000 => 0 110110100010 => 0 110110100100 => 0 110110101000 => 0 110110110000 => 0 110111000010 => 0 110111000100 => 0 110111001000 => 0 110111010000 => 0 110111100000 => 0 111000101010 => 0 111000101100 => 0 111000110010 => 0 111000110100 => 0 111000111000 => 0 111001001010 => 0 111001001100 => 0 111001010010 => 0 111001010100 => 0 111001011000 => 0 111001100010 => 0 111001100100 => 0 111001101000 => 0 111001110000 => 0 111010001010 => 0 111010001100 => 0 111010010010 => 0 111010010100 => 0 111010011000 => 0 111010100010 => 0 111010100100 => 0 111010101000 => 0 111010110000 => 0 111011000010 => 0 111011000100 => 0 111011001000 => 0 111011010000 => 0 111011100000 => 0 111100001010 => 0 111100001100 => 0 111100010010 => 0 111100010100 => 0 111100011000 => 0 111100100010 => 0 111100100100 => 0 111100101000 => 0 111100110000 => 0 111101000010 => 0 111101000100 => 0 111101001000 => 0 111101010000 => 0 111101100000 => 0 111110000010 => 0 111110000100 => 0 111110001000 => 0 111110010000 => 0 111110100000 => 0 111111000000 => 0 100001111100 => 0 010101010101 => 0 010101010011 => 0 010101001101 => 0 010101001011 => 0 010101000111 => 0 010100110101 => 0 010100110011 => 0 010100101101 => 0 010100101011 => 0 010100100111 => 0 010100011101 => 0 010100011011 => 0 010100010111 => 0 010100001111 => 0 010011010101 => 0 010011010011 => 0 010011001101 => 0 010011001011 => 0 010011000111 => 0 010010110101 => 0 010010110011 => 0 010010101101 => 0 010010101011 => 0 010010100111 => 0 010010011101 => 0 010010011011 => 0 010010010111 => 0 010010001111 => 0 010001110101 => 0 010001110011 => 0 010001101101 => 0 010001101011 => 0 010001100111 => 0 010001011101 => 0 010001011011 => 0 010001010111 => 0 010001001111 => 0 010000111101 => 0 010000111011 => 0 010000110111 => 0 010000101111 => 0 010000011111 => 0 001101010101 => 0 001101010011 => 0 001101001101 => 0 001101001011 => 0 001101000111 => 0 001100110101 => 0 001100110011 => 0 001100101101 => 0 001100101011 => 0 001100100111 => 0 001100011101 => 0 001100011011 => 0 001100010111 => 0 001100001111 => 0 001011010101 => 0 001011010011 => 0 001011001101 => 0 001011001011 => 0 001011000111 => 0 001010110101 => 0 001010110011 => 0 001010101101 => 0 001010101011 => 0 001010100111 => 0 001010011101 => 0 001010011011 => 0 001010010111 => 0 001010001111 => 0 001001110101 => 0 001001110011 => 0 001001101101 => 0 001001101011 => 0 001001100111 => 0 001001011101 => 0 001001011011 => 0 001001010111 => 0 001001001111 => 0 001000111101 => 0 001000111011 => 0 001000110111 => 0 001000101111 => 0 001000011111 => 0 000111010101 => 0 000111010011 => 0 000111001101 => 0 000111001011 => 0 000111000111 => 0 000110110101 => 0 000110110011 => 0 000110101101 => 0 000110101011 => 0 000110100111 => 0 000110011101 => 0 000110011011 => 0 000110010111 => 0 000110001111 => 0 000101110101 => 0 000101110011 => 0 000101101101 => 0 000101101011 => 0 000101100111 => 0 000101011101 => 0 000101011011 => 0 000101010111 => 0 000101001111 => 0 000100111101 => 0 000100111011 => 0 000100110111 => 0 000100101111 => 0 000100011111 => 0 000011110101 => 0 000011110011 => 0 000011101101 => 0 000011101011 => 0 000011100111 => 0 000011011101 => 0 000011011011 => 0 000011010111 => 0 000011001111 => 0 000010111101 => 0 000010111011 => 0 000010110111 => 0 000010101111 => 0 000010011111 => 0 000001111101 => 0 000001111011 => 0 000001110111 => 0 000001101111 => 0 000001011111 => 0 000000111111 => 0 111110000001 => 1 111001100001 => 1 111000011001 => 1 111000110001 => 1 111000100101 => 1 111011000001 => 1 111010010001 => 1 111010000101 => 1 100111100001 => 3 100110011001 => 12 100110110001 => 3 100110100101 => 2 101101100001 => 2 101100011001 => 2 101100110001 => 2 101100100101 => 3 101111000001 => 2 101110010001 => 2 101110000101 => 3 101001011001 => 2 101001110001 => 2 101001100101 => 12 101011010001 => 2 101011000101 => 4 101010010101 => 12 000001111110 => 1 000111100110 => 1 000111111000 => 12 000111110010 => 1 000111001110 => 1 000111011010 => 1 000101101110 => 1 000101111010 => 1 011001100110 => 12 011001111000 => 1 011001110010 => 2 011001011010 => 2 011110000110 => 3 011110011000 => 1 011110010010 => 2 011111100000 => 1 011111001000 => 1 011111000010 => 2 011100100110 => 3 011100111000 => 1 011100110010 => 2 011100011010 => 2 011101101000 => 1 011101100010 => 2 011101001010 => 2 010011111000 => 1 010011110010 => 12 010011011010 => 3 010001111010 => 3 010110100110 => 2 010110111000 => 1 010110110010 => 3 010110011010 => 12 010111101000 => 1 010111100010 => 3 010111001010 => 4 010101101010 => 12 010101010110 => 2 010101011001 => 0 010101011010 => 4 010101011100 => 1 010101100101 => 0 010101100110 => 2 010101101001 => 0 010101101100 => 1 010101110001 => 0 010101110010 => 3 010101110100 => 1 010101111000 => 1 010110010101 => 0 010110010110 => 2 010110011001 => 0 010110011100 => 1 010110100101 => 0 010110101001 => 0 010110101010 => 4 010110101100 => 1 010110110001 => 0 010110110100 => 1 010111000101 => 0 010111000110 => 2 010111001001 => 0 010111001100 => 1 010111010001 => 0 010111010010 => 3 010111010100 => 1 010111011000 => 1 010111100001 => 0 010111100100 => 1 010111110000 => 1 011001010101 => 0 011001010110 => 4 011001011001 => 0 011001011100 => 1 011001100101 => 0 011001101001 => 0 011001101010 => 2 011001101100 => 1 011001110001 => 0 011001110100 => 1 011010010101 => 0 011010010110 => 12 011010011001 => 0 011010011010 => 2 011010011100 => 1 011010100101 => 0 011010100110 => 4 011010101001 => 0 011010101010 => 2 011010101100 => 1 011010110001 => 0 011010110010 => 2 011010110100 => 1 011010111000 => 1 011011000101 => 0 011011000110 => 4 011011001001 => 0 011011001010 => 2 011011001100 => 1 011011010001 => 0 011011010010 => 2 011011010100 => 1 011011011000 => 1 011011100001 => 0 011011100010 => 2 011011100100 => 1 011011101000 => 1 011011110000 => 1 011100010101 => 0 011100010110 => 3 011100011001 => 0 011100011100 => 1 011100100101 => 0 011100101001 => 0 011100101010 => 2 011100101100 => 1 011100110001 => 0 011100110100 => 1 011101000101 => 0 011101000110 => 3 011101001001 => 0 011101001100 => 1 011101010001 => 0 011101010010 => 2 011101010100 => 1 011101011000 => 1 011101100001 => 0 011101100100 => 1 011101110000 => 1 011110000101 => 0 011110001001 => 0 011110001010 => 2 011110001100 => 1 011110010001 => 0 011110010100 => 1 011110100001 => 0 011110100010 => 2 011110100100 => 1 011110101000 => 1 011110110000 => 1 011111000001 => 0 011111000100 => 1 011111010000 => 1 001111000110 => 1 001111001010 => 1 100111001100 => 0 001111001100 => 4 001011010110 => 1 001111010010 => 1 100111010100 => 0 001111010100 => 3 000111010110 => 1 001011011010 => 1 100111011000 => 0 001111011000 => 2 100011011100 => 0 010011011100 => 1 001011011100 => 3 000111011100 => 2 000011011110 => 1 001101100110 => 1 001101101010 => 1 100101101100 => 0 001101101100 => 12 001011100110 => 1 001111100010 => 1 100111100100 => 0 001111100100 => 3 010011101010 => 3 001011101010 => 1 100111101000 => 0 001111101000 => 2 000111101010 => 1 100011101100 => 0 010011101100 => 1 001011101100 => 3 000111101100 => 2 000011101110 => 1 101001110100 => 0 001001110110 => 1 001101110010 => 1 100101110100 => 0 001101110100 => 3 000101110110 => 1 001011110010 => 1 100111110000 => 0 001111110000 => 2 100011110100 => 0 010011110100 => 1 001011110100 => 12 000111110100 => 2 000011110110 => 1 110001111000 => 0 101001111000 => 0 001001111010 => 1 100101111000 => 0 001101111000 => 2 100011111000 => 0 001011111000 => 2 000011111010 => 1 010001111100 => 1 001001111100 => 3 000101111100 => 2 000011111100 => 2 100101010101 => 2 100101011001 => 4 100101100101 => 2 100101101001 => 12 100101110001 => 3 100110010101 => 2 100110101001 => 4 100111000101 => 2 100111001001 => 4 100111010001 => 3 101001010101 => 4 101001101001 => 2 101010011001 => 2 101010100101 => 4 101010101001 => 2 101010110001 => 2 101011001001 => 2 101011100001 => 2 101100010101 => 3 101100101001 => 2 101101000101 => 3 101101001001 => 2 101101010001 => 2 101110001001 => 2 101110100001 => 2 110001010101 => 1 110001011001 => 1 110001100101 => 1 110001101001 => 1 110001110001 => 1 110010010101 => 1 110010011001 => 1 110010100101 => 1 110010101001 => 1 110010110001 => 1 110011000101 => 1 110011001001 => 1 110011010001 => 1 110011100001 => 1 110100010101 => 1 110100011001 => 1 110100100101 => 1 110100101001 => 1 110100110001 => 1 110101000101 => 1 110101001001 => 1 110101010001 => 1 110101100001 => 1 110110000101 => 1 110110001001 => 1 110110010001 => 1 110110100001 => 1 110111000001 => 1 111000010101 => 1 111000101001 => 1 111001000101 => 1 111001001001 => 1 111001010001 => 1 111010001001 => 1 111010100001 => 1 111100000101 => 1 111100001001 => 1 111100010001 => 1 111100100001 => 1 111101000001 => 1 10110111100000 => 0 10111011010000 => 0 10111011100000 => 0 10111100110000 => 0 10111101001000 => 0 10111101010000 => 0 10111101100000 => 0 10111110000100 => 0 10111110001000 => 0 10111110010000 => 0 10111110100000 => 0 10111111000000 => 0 11001111100000 => 0 11011110000010 => 0 11101101000010 => 0 11101110000010 => 0 11110011000010 => 0 11110100100010 => 0 11110101000010 => 0 11110110000010 => 0 11111000001100 => 0 11111000010010 => 0 11111000100010 => 0 11111001000010 => 0 11111010000010 => 0 11111100000010 => 0 1011110111000000 => 0 1011111010100000 => 0 1011111011000000 => 0 1011111100010000 => 0 1011111100100000 => 0 1011111101000000 => 0 1011111110000000 => 0 1111011100000010 => 0 1111101010000010 => 0 1111101100000010 => 0 1111110001000010 => 0 1111110010000010 => 0 1111110100000010 => 0 1111111000000010 => 0 111111110000000010 => 0 101111111100000000 => 0 111111101000000010 => 0 101111111010000000 => 0 111111100100000010 => 0 111111011000000010 => 0 101111111001000000 => 0 101111110110000000 => 0 11111111100000000010 => 0 10111111111000000000 => 0 11111111010000000010 => 0 10111111110100000000 => 0 1111111111000000000010 => 0 1011111111110000000000 => 0 ----------------------------------------------------------------------------- Created: Nov 19, 2015 at 12:38 by Christian Stump ----------------------------------------------------------------------------- Last Updated: Dec 28, 2017 at 14:48 by Martin Rubey