Identifier
Mp00038:
Integer compositions
—reverse⟶
Integer compositions
Mp00094: Integer compositions —to binary word⟶ Binary words
Mp00104: Binary words —reverse⟶ Binary words
Mp00094: Integer compositions —to binary word⟶ Binary words
Mp00104: Binary words —reverse⟶ Binary words
Images
=>
[1]=>[1]=>1=>1
[1,1]=>[1,1]=>11=>11
[2]=>[2]=>10=>01
[1,1,1]=>[1,1,1]=>111=>111
[1,2]=>[2,1]=>101=>101
[2,1]=>[1,2]=>110=>011
[3]=>[3]=>100=>001
[1,1,1,1]=>[1,1,1,1]=>1111=>1111
[1,1,2]=>[2,1,1]=>1011=>1101
[1,2,1]=>[1,2,1]=>1101=>1011
[1,3]=>[3,1]=>1001=>1001
[2,1,1]=>[1,1,2]=>1110=>0111
[2,2]=>[2,2]=>1010=>0101
[3,1]=>[1,3]=>1100=>0011
[4]=>[4]=>1000=>0001
[1,1,1,1,1]=>[1,1,1,1,1]=>11111=>11111
[1,1,1,2]=>[2,1,1,1]=>10111=>11101
[1,1,2,1]=>[1,2,1,1]=>11011=>11011
[1,1,3]=>[3,1,1]=>10011=>11001
[1,2,1,1]=>[1,1,2,1]=>11101=>10111
[1,2,2]=>[2,2,1]=>10101=>10101
[1,3,1]=>[1,3,1]=>11001=>10011
[1,4]=>[4,1]=>10001=>10001
[2,1,1,1]=>[1,1,1,2]=>11110=>01111
[2,1,2]=>[2,1,2]=>10110=>01101
[2,2,1]=>[1,2,2]=>11010=>01011
[2,3]=>[3,2]=>10010=>01001
[3,1,1]=>[1,1,3]=>11100=>00111
[3,2]=>[2,3]=>10100=>00101
[4,1]=>[1,4]=>11000=>00011
[5]=>[5]=>10000=>00001
[1,1,1,1,1,1]=>[1,1,1,1,1,1]=>111111=>111111
[1,1,1,1,2]=>[2,1,1,1,1]=>101111=>111101
[1,1,1,2,1]=>[1,2,1,1,1]=>110111=>111011
[1,1,1,3]=>[3,1,1,1]=>100111=>111001
[1,1,2,1,1]=>[1,1,2,1,1]=>111011=>110111
[1,1,2,2]=>[2,2,1,1]=>101011=>110101
[1,1,3,1]=>[1,3,1,1]=>110011=>110011
[1,1,4]=>[4,1,1]=>100011=>110001
[1,2,1,1,1]=>[1,1,1,2,1]=>111101=>101111
[1,2,1,2]=>[2,1,2,1]=>101101=>101101
[1,2,2,1]=>[1,2,2,1]=>110101=>101011
[1,2,3]=>[3,2,1]=>100101=>101001
[1,3,1,1]=>[1,1,3,1]=>111001=>100111
[1,3,2]=>[2,3,1]=>101001=>100101
[1,4,1]=>[1,4,1]=>110001=>100011
[1,5]=>[5,1]=>100001=>100001
[2,1,1,1,1]=>[1,1,1,1,2]=>111110=>011111
[2,1,1,2]=>[2,1,1,2]=>101110=>011101
[2,1,2,1]=>[1,2,1,2]=>110110=>011011
[2,1,3]=>[3,1,2]=>100110=>011001
[2,2,1,1]=>[1,1,2,2]=>111010=>010111
[2,2,2]=>[2,2,2]=>101010=>010101
[2,3,1]=>[1,3,2]=>110010=>010011
[2,4]=>[4,2]=>100010=>010001
[3,1,1,1]=>[1,1,1,3]=>111100=>001111
[3,1,2]=>[2,1,3]=>101100=>001101
[3,2,1]=>[1,2,3]=>110100=>001011
[3,3]=>[3,3]=>100100=>001001
[4,1,1]=>[1,1,4]=>111000=>000111
[4,2]=>[2,4]=>101000=>000101
[5,1]=>[1,5]=>110000=>000011
[6]=>[6]=>100000=>000001
[1,1,1,1,1,1,1]=>[1,1,1,1,1,1,1]=>1111111=>1111111
[1,1,1,1,1,2]=>[2,1,1,1,1,1]=>1011111=>1111101
[1,1,1,1,2,1]=>[1,2,1,1,1,1]=>1101111=>1111011
[1,1,1,1,3]=>[3,1,1,1,1]=>1001111=>1111001
[1,1,1,2,1,1]=>[1,1,2,1,1,1]=>1110111=>1110111
[1,1,1,2,2]=>[2,2,1,1,1]=>1010111=>1110101
[1,1,1,3,1]=>[1,3,1,1,1]=>1100111=>1110011
[1,1,1,4]=>[4,1,1,1]=>1000111=>1110001
[1,1,2,1,1,1]=>[1,1,1,2,1,1]=>1111011=>1101111
[1,1,2,1,2]=>[2,1,2,1,1]=>1011011=>1101101
[1,1,2,2,1]=>[1,2,2,1,1]=>1101011=>1101011
[1,1,2,3]=>[3,2,1,1]=>1001011=>1101001
[1,1,3,1,1]=>[1,1,3,1,1]=>1110011=>1100111
[1,1,3,2]=>[2,3,1,1]=>1010011=>1100101
[1,1,4,1]=>[1,4,1,1]=>1100011=>1100011
[1,1,5]=>[5,1,1]=>1000011=>1100001
[1,2,1,1,1,1]=>[1,1,1,1,2,1]=>1111101=>1011111
[1,2,1,1,2]=>[2,1,1,2,1]=>1011101=>1011101
[1,2,1,2,1]=>[1,2,1,2,1]=>1101101=>1011011
[1,2,1,3]=>[3,1,2,1]=>1001101=>1011001
[1,2,2,1,1]=>[1,1,2,2,1]=>1110101=>1010111
[1,2,2,2]=>[2,2,2,1]=>1010101=>1010101
[1,2,3,1]=>[1,3,2,1]=>1100101=>1010011
[1,2,4]=>[4,2,1]=>1000101=>1010001
[1,3,1,1,1]=>[1,1,1,3,1]=>1111001=>1001111
[1,3,1,2]=>[2,1,3,1]=>1011001=>1001101
[1,3,2,1]=>[1,2,3,1]=>1101001=>1001011
[1,3,3]=>[3,3,1]=>1001001=>1001001
[1,4,1,1]=>[1,1,4,1]=>1110001=>1000111
[1,4,2]=>[2,4,1]=>1010001=>1000101
[1,5,1]=>[1,5,1]=>1100001=>1000011
[1,6]=>[6,1]=>1000001=>1000001
[2,1,1,1,1,1]=>[1,1,1,1,1,2]=>1111110=>0111111
[2,1,1,1,2]=>[2,1,1,1,2]=>1011110=>0111101
[2,1,1,2,1]=>[1,2,1,1,2]=>1101110=>0111011
[2,1,1,3]=>[3,1,1,2]=>1001110=>0111001
[2,1,2,1,1]=>[1,1,2,1,2]=>1110110=>0110111
[2,1,2,2]=>[2,2,1,2]=>1010110=>0110101
[2,1,3,1]=>[1,3,1,2]=>1100110=>0110011
[2,1,4]=>[4,1,2]=>1000110=>0110001
[2,2,1,1,1]=>[1,1,1,2,2]=>1111010=>0101111
[2,2,1,2]=>[2,1,2,2]=>1011010=>0101101
[2,2,2,1]=>[1,2,2,2]=>1101010=>0101011
[2,2,3]=>[3,2,2]=>1001010=>0101001
[2,3,1,1]=>[1,1,3,2]=>1110010=>0100111
[2,3,2]=>[2,3,2]=>1010010=>0100101
[2,4,1]=>[1,4,2]=>1100010=>0100011
[2,5]=>[5,2]=>1000010=>0100001
[3,1,1,1,1]=>[1,1,1,1,3]=>1111100=>0011111
[3,1,1,2]=>[2,1,1,3]=>1011100=>0011101
[3,1,2,1]=>[1,2,1,3]=>1101100=>0011011
[3,1,3]=>[3,1,3]=>1001100=>0011001
[3,2,1,1]=>[1,1,2,3]=>1110100=>0010111
[3,2,2]=>[2,2,3]=>1010100=>0010101
[3,3,1]=>[1,3,3]=>1100100=>0010011
[3,4]=>[4,3]=>1000100=>0010001
[4,1,1,1]=>[1,1,1,4]=>1111000=>0001111
[4,1,2]=>[2,1,4]=>1011000=>0001101
[4,2,1]=>[1,2,4]=>1101000=>0001011
[4,3]=>[3,4]=>1001000=>0001001
[5,1,1]=>[1,1,5]=>1110000=>0000111
[5,2]=>[2,5]=>1010000=>0000101
[6,1]=>[1,6]=>1100000=>0000011
[7]=>[7]=>1000000=>0000001
[1,1,1,1,1,1,1,1]=>[1,1,1,1,1,1,1,1]=>11111111=>11111111
[1,1,1,1,1,1,2]=>[2,1,1,1,1,1,1]=>10111111=>11111101
[1,1,1,1,1,2,1]=>[1,2,1,1,1,1,1]=>11011111=>11111011
[1,1,1,1,1,3]=>[3,1,1,1,1,1]=>10011111=>11111001
[1,1,1,1,2,1,1]=>[1,1,2,1,1,1,1]=>11101111=>11110111
[1,1,1,1,2,2]=>[2,2,1,1,1,1]=>10101111=>11110101
[1,1,1,1,3,1]=>[1,3,1,1,1,1]=>11001111=>11110011
[1,1,1,1,4]=>[4,1,1,1,1]=>10001111=>11110001
[1,1,1,2,1,1,1]=>[1,1,1,2,1,1,1]=>11110111=>11101111
[1,1,1,2,1,2]=>[2,1,2,1,1,1]=>10110111=>11101101
[1,1,1,2,2,1]=>[1,2,2,1,1,1]=>11010111=>11101011
[1,1,1,2,3]=>[3,2,1,1,1]=>10010111=>11101001
[1,1,1,3,1,1]=>[1,1,3,1,1,1]=>11100111=>11100111
[1,1,1,3,2]=>[2,3,1,1,1]=>10100111=>11100101
[1,1,1,4,1]=>[1,4,1,1,1]=>11000111=>11100011
[1,1,1,5]=>[5,1,1,1]=>10000111=>11100001
[1,1,2,1,1,1,1]=>[1,1,1,1,2,1,1]=>11111011=>11011111
[1,1,2,1,1,2]=>[2,1,1,2,1,1]=>10111011=>11011101
[1,1,2,1,2,1]=>[1,2,1,2,1,1]=>11011011=>11011011
[1,1,2,1,3]=>[3,1,2,1,1]=>10011011=>11011001
[1,1,2,2,1,1]=>[1,1,2,2,1,1]=>11101011=>11010111
[1,1,2,2,2]=>[2,2,2,1,1]=>10101011=>11010101
[1,1,2,3,1]=>[1,3,2,1,1]=>11001011=>11010011
[1,1,2,4]=>[4,2,1,1]=>10001011=>11010001
[1,1,3,1,1,1]=>[1,1,1,3,1,1]=>11110011=>11001111
[1,1,3,1,2]=>[2,1,3,1,1]=>10110011=>11001101
[1,1,3,2,1]=>[1,2,3,1,1]=>11010011=>11001011
[1,1,3,3]=>[3,3,1,1]=>10010011=>11001001
[1,1,4,1,1]=>[1,1,4,1,1]=>11100011=>11000111
[1,1,4,2]=>[2,4,1,1]=>10100011=>11000101
[1,1,5,1]=>[1,5,1,1]=>11000011=>11000011
[1,1,6]=>[6,1,1]=>10000011=>11000001
[1,2,1,1,1,1,1]=>[1,1,1,1,1,2,1]=>11111101=>10111111
[1,2,1,1,1,2]=>[2,1,1,1,2,1]=>10111101=>10111101
[1,2,1,1,2,1]=>[1,2,1,1,2,1]=>11011101=>10111011
[1,2,1,1,3]=>[3,1,1,2,1]=>10011101=>10111001
[1,2,1,2,1,1]=>[1,1,2,1,2,1]=>11101101=>10110111
[1,2,1,2,2]=>[2,2,1,2,1]=>10101101=>10110101
[1,2,1,3,1]=>[1,3,1,2,1]=>11001101=>10110011
[1,2,1,4]=>[4,1,2,1]=>10001101=>10110001
[1,2,2,1,1,1]=>[1,1,1,2,2,1]=>11110101=>10101111
[1,2,2,1,2]=>[2,1,2,2,1]=>10110101=>10101101
[1,2,2,2,1]=>[1,2,2,2,1]=>11010101=>10101011
[1,2,2,3]=>[3,2,2,1]=>10010101=>10101001
[1,2,3,1,1]=>[1,1,3,2,1]=>11100101=>10100111
[1,2,3,2]=>[2,3,2,1]=>10100101=>10100101
[1,2,4,1]=>[1,4,2,1]=>11000101=>10100011
[1,2,5]=>[5,2,1]=>10000101=>10100001
[1,3,1,1,1,1]=>[1,1,1,1,3,1]=>11111001=>10011111
[1,3,1,1,2]=>[2,1,1,3,1]=>10111001=>10011101
[1,3,1,2,1]=>[1,2,1,3,1]=>11011001=>10011011
[1,3,1,3]=>[3,1,3,1]=>10011001=>10011001
[1,3,2,1,1]=>[1,1,2,3,1]=>11101001=>10010111
[1,3,2,2]=>[2,2,3,1]=>10101001=>10010101
[1,3,3,1]=>[1,3,3,1]=>11001001=>10010011
[1,3,4]=>[4,3,1]=>10001001=>10010001
[1,4,1,1,1]=>[1,1,1,4,1]=>11110001=>10001111
[1,4,1,2]=>[2,1,4,1]=>10110001=>10001101
[1,4,2,1]=>[1,2,4,1]=>11010001=>10001011
[1,4,3]=>[3,4,1]=>10010001=>10001001
[1,5,1,1]=>[1,1,5,1]=>11100001=>10000111
[1,5,2]=>[2,5,1]=>10100001=>10000101
[1,6,1]=>[1,6,1]=>11000001=>10000011
[1,7]=>[7,1]=>10000001=>10000001
[2,1,1,1,1,1,1]=>[1,1,1,1,1,1,2]=>11111110=>01111111
[2,1,1,1,1,2]=>[2,1,1,1,1,2]=>10111110=>01111101
[2,1,1,1,2,1]=>[1,2,1,1,1,2]=>11011110=>01111011
[2,1,1,1,3]=>[3,1,1,1,2]=>10011110=>01111001
[2,1,1,2,1,1]=>[1,1,2,1,1,2]=>11101110=>01110111
[2,1,1,2,2]=>[2,2,1,1,2]=>10101110=>01110101
[2,1,1,3,1]=>[1,3,1,1,2]=>11001110=>01110011
[2,1,1,4]=>[4,1,1,2]=>10001110=>01110001
[2,1,2,1,1,1]=>[1,1,1,2,1,2]=>11110110=>01101111
[2,1,2,1,2]=>[2,1,2,1,2]=>10110110=>01101101
[2,1,2,2,1]=>[1,2,2,1,2]=>11010110=>01101011
[2,1,2,3]=>[3,2,1,2]=>10010110=>01101001
[2,1,3,1,1]=>[1,1,3,1,2]=>11100110=>01100111
[2,1,3,2]=>[2,3,1,2]=>10100110=>01100101
[2,1,4,1]=>[1,4,1,2]=>11000110=>01100011
[2,1,5]=>[5,1,2]=>10000110=>01100001
[2,2,1,1,1,1]=>[1,1,1,1,2,2]=>11111010=>01011111
[2,2,1,1,2]=>[2,1,1,2,2]=>10111010=>01011101
[2,2,1,2,1]=>[1,2,1,2,2]=>11011010=>01011011
[2,2,1,3]=>[3,1,2,2]=>10011010=>01011001
[2,2,2,1,1]=>[1,1,2,2,2]=>11101010=>01010111
[2,2,2,2]=>[2,2,2,2]=>10101010=>01010101
[2,2,3,1]=>[1,3,2,2]=>11001010=>01010011
[2,2,4]=>[4,2,2]=>10001010=>01010001
[2,3,1,1,1]=>[1,1,1,3,2]=>11110010=>01001111
[2,3,1,2]=>[2,1,3,2]=>10110010=>01001101
[2,3,2,1]=>[1,2,3,2]=>11010010=>01001011
[2,3,3]=>[3,3,2]=>10010010=>01001001
[2,4,1,1]=>[1,1,4,2]=>11100010=>01000111
[2,4,2]=>[2,4,2]=>10100010=>01000101
[2,5,1]=>[1,5,2]=>11000010=>01000011
[2,6]=>[6,2]=>10000010=>01000001
[3,1,1,1,1,1]=>[1,1,1,1,1,3]=>11111100=>00111111
[3,1,1,1,2]=>[2,1,1,1,3]=>10111100=>00111101
[3,1,1,2,1]=>[1,2,1,1,3]=>11011100=>00111011
[3,1,1,3]=>[3,1,1,3]=>10011100=>00111001
[3,1,2,1,1]=>[1,1,2,1,3]=>11101100=>00110111
[3,1,2,2]=>[2,2,1,3]=>10101100=>00110101
[3,1,3,1]=>[1,3,1,3]=>11001100=>00110011
[3,1,4]=>[4,1,3]=>10001100=>00110001
[3,2,1,1,1]=>[1,1,1,2,3]=>11110100=>00101111
[3,2,1,2]=>[2,1,2,3]=>10110100=>00101101
[3,2,2,1]=>[1,2,2,3]=>11010100=>00101011
[3,2,3]=>[3,2,3]=>10010100=>00101001
[3,3,1,1]=>[1,1,3,3]=>11100100=>00100111
[3,3,2]=>[2,3,3]=>10100100=>00100101
[3,4,1]=>[1,4,3]=>11000100=>00100011
[3,5]=>[5,3]=>10000100=>00100001
[4,1,1,1,1]=>[1,1,1,1,4]=>11111000=>00011111
[4,1,1,2]=>[2,1,1,4]=>10111000=>00011101
[4,1,2,1]=>[1,2,1,4]=>11011000=>00011011
[4,1,3]=>[3,1,4]=>10011000=>00011001
[4,2,1,1]=>[1,1,2,4]=>11101000=>00010111
[4,2,2]=>[2,2,4]=>10101000=>00010101
[4,3,1]=>[1,3,4]=>11001000=>00010011
[4,4]=>[4,4]=>10001000=>00010001
[5,1,1,1]=>[1,1,1,5]=>11110000=>00001111
[5,1,2]=>[2,1,5]=>10110000=>00001101
[5,2,1]=>[1,2,5]=>11010000=>00001011
[5,3]=>[3,5]=>10010000=>00001001
[6,1,1]=>[1,1,6]=>11100000=>00000111
[6,2]=>[2,6]=>10100000=>00000101
[7,1]=>[1,7]=>11000000=>00000011
[8]=>[8]=>10000000=>00000001
[1,1,1,1,1,1,1,1,1]=>[1,1,1,1,1,1,1,1,1]=>111111111=>111111111
[1,1,1,1,1,1,1,2]=>[2,1,1,1,1,1,1,1]=>101111111=>111111101
[1,1,1,1,1,1,2,1]=>[1,2,1,1,1,1,1,1]=>110111111=>111111011
[1,1,1,1,1,1,3]=>[3,1,1,1,1,1,1]=>100111111=>111111001
[1,1,1,1,1,2,1,1]=>[1,1,2,1,1,1,1,1]=>111011111=>111110111
[1,1,1,1,1,2,2]=>[2,2,1,1,1,1,1]=>101011111=>111110101
[1,1,1,1,1,3,1]=>[1,3,1,1,1,1,1]=>110011111=>111110011
[1,1,1,1,1,4]=>[4,1,1,1,1,1]=>100011111=>111110001
[1,1,1,1,2,1,1,1]=>[1,1,1,2,1,1,1,1]=>111101111=>111101111
[1,1,1,1,2,1,2]=>[2,1,2,1,1,1,1]=>101101111=>111101101
[1,1,1,1,2,2,1]=>[1,2,2,1,1,1,1]=>110101111=>111101011
[1,1,1,1,2,3]=>[3,2,1,1,1,1]=>100101111=>111101001
[1,1,1,1,3,1,1]=>[1,1,3,1,1,1,1]=>111001111=>111100111
[1,1,1,1,3,2]=>[2,3,1,1,1,1]=>101001111=>111100101
[1,1,1,1,4,1]=>[1,4,1,1,1,1]=>110001111=>111100011
[1,1,1,1,5]=>[5,1,1,1,1]=>100001111=>111100001
[1,1,1,2,1,1,1,1]=>[1,1,1,1,2,1,1,1]=>111110111=>111011111
[1,1,1,2,1,1,2]=>[2,1,1,2,1,1,1]=>101110111=>111011101
[1,1,1,2,1,2,1]=>[1,2,1,2,1,1,1]=>110110111=>111011011
[1,1,1,2,1,3]=>[3,1,2,1,1,1]=>100110111=>111011001
[1,1,1,2,2,1,1]=>[1,1,2,2,1,1,1]=>111010111=>111010111
[1,1,1,2,2,2]=>[2,2,2,1,1,1]=>101010111=>111010101
[1,1,1,2,3,1]=>[1,3,2,1,1,1]=>110010111=>111010011
[1,1,1,2,4]=>[4,2,1,1,1]=>100010111=>111010001
[1,1,1,3,1,1,1]=>[1,1,1,3,1,1,1]=>111100111=>111001111
[1,1,1,3,1,2]=>[2,1,3,1,1,1]=>101100111=>111001101
[1,1,1,3,2,1]=>[1,2,3,1,1,1]=>110100111=>111001011
[1,1,1,3,3]=>[3,3,1,1,1]=>100100111=>111001001
[1,1,1,4,1,1]=>[1,1,4,1,1,1]=>111000111=>111000111
[1,1,1,4,2]=>[2,4,1,1,1]=>101000111=>111000101
[1,1,1,5,1]=>[1,5,1,1,1]=>110000111=>111000011
[1,1,1,6]=>[6,1,1,1]=>100000111=>111000001
[1,1,2,1,1,1,1,1]=>[1,1,1,1,1,2,1,1]=>111111011=>110111111
[1,1,2,1,1,1,2]=>[2,1,1,1,2,1,1]=>101111011=>110111101
[1,1,2,1,1,2,1]=>[1,2,1,1,2,1,1]=>110111011=>110111011
[1,1,2,1,1,3]=>[3,1,1,2,1,1]=>100111011=>110111001
[1,1,2,1,2,1,1]=>[1,1,2,1,2,1,1]=>111011011=>110110111
[1,1,2,1,2,2]=>[2,2,1,2,1,1]=>101011011=>110110101
[1,1,2,1,3,1]=>[1,3,1,2,1,1]=>110011011=>110110011
[1,1,2,1,4]=>[4,1,2,1,1]=>100011011=>110110001
[1,1,2,2,1,1,1]=>[1,1,1,2,2,1,1]=>111101011=>110101111
[1,1,2,2,1,2]=>[2,1,2,2,1,1]=>101101011=>110101101
[1,1,2,2,2,1]=>[1,2,2,2,1,1]=>110101011=>110101011
[1,1,2,2,3]=>[3,2,2,1,1]=>100101011=>110101001
[1,1,2,3,1,1]=>[1,1,3,2,1,1]=>111001011=>110100111
[1,1,2,3,2]=>[2,3,2,1,1]=>101001011=>110100101
[1,1,2,4,1]=>[1,4,2,1,1]=>110001011=>110100011
[1,1,2,5]=>[5,2,1,1]=>100001011=>110100001
[1,1,3,1,1,1,1]=>[1,1,1,1,3,1,1]=>111110011=>110011111
[1,1,3,1,1,2]=>[2,1,1,3,1,1]=>101110011=>110011101
[1,1,3,1,2,1]=>[1,2,1,3,1,1]=>110110011=>110011011
[1,1,3,1,3]=>[3,1,3,1,1]=>100110011=>110011001
[1,1,3,2,1,1]=>[1,1,2,3,1,1]=>111010011=>110010111
[1,1,3,2,2]=>[2,2,3,1,1]=>101010011=>110010101
[1,1,3,3,1]=>[1,3,3,1,1]=>110010011=>110010011
[1,1,3,4]=>[4,3,1,1]=>100010011=>110010001
[1,1,4,1,1,1]=>[1,1,1,4,1,1]=>111100011=>110001111
[1,1,4,1,2]=>[2,1,4,1,1]=>101100011=>110001101
[1,1,4,2,1]=>[1,2,4,1,1]=>110100011=>110001011
[1,1,4,3]=>[3,4,1,1]=>100100011=>110001001
[1,1,5,1,1]=>[1,1,5,1,1]=>111000011=>110000111
[1,1,5,2]=>[2,5,1,1]=>101000011=>110000101
[1,1,6,1]=>[1,6,1,1]=>110000011=>110000011
[1,1,7]=>[7,1,1]=>100000011=>110000001
[1,2,1,1,1,1,1,1]=>[1,1,1,1,1,1,2,1]=>111111101=>101111111
[1,2,1,1,1,1,2]=>[2,1,1,1,1,2,1]=>101111101=>101111101
[1,2,1,1,1,2,1]=>[1,2,1,1,1,2,1]=>110111101=>101111011
[1,2,1,1,1,3]=>[3,1,1,1,2,1]=>100111101=>101111001
[1,2,1,1,2,1,1]=>[1,1,2,1,1,2,1]=>111011101=>101110111
[1,2,1,1,2,2]=>[2,2,1,1,2,1]=>101011101=>101110101
[1,2,1,1,3,1]=>[1,3,1,1,2,1]=>110011101=>101110011
[1,2,1,1,4]=>[4,1,1,2,1]=>100011101=>101110001
[1,2,1,2,1,1,1]=>[1,1,1,2,1,2,1]=>111101101=>101101111
[1,2,1,2,1,2]=>[2,1,2,1,2,1]=>101101101=>101101101
[1,2,1,2,2,1]=>[1,2,2,1,2,1]=>110101101=>101101011
[1,2,1,2,3]=>[3,2,1,2,1]=>100101101=>101101001
[1,2,1,3,1,1]=>[1,1,3,1,2,1]=>111001101=>101100111
[1,2,1,3,2]=>[2,3,1,2,1]=>101001101=>101100101
[1,2,1,4,1]=>[1,4,1,2,1]=>110001101=>101100011
[1,2,1,5]=>[5,1,2,1]=>100001101=>101100001
[1,2,2,1,1,1,1]=>[1,1,1,1,2,2,1]=>111110101=>101011111
[1,2,2,1,1,2]=>[2,1,1,2,2,1]=>101110101=>101011101
[1,2,2,1,2,1]=>[1,2,1,2,2,1]=>110110101=>101011011
[1,2,2,1,3]=>[3,1,2,2,1]=>100110101=>101011001
[1,2,2,2,1,1]=>[1,1,2,2,2,1]=>111010101=>101010111
[1,2,2,2,2]=>[2,2,2,2,1]=>101010101=>101010101
[1,2,2,3,1]=>[1,3,2,2,1]=>110010101=>101010011
[1,2,2,4]=>[4,2,2,1]=>100010101=>101010001
[1,2,3,1,1,1]=>[1,1,1,3,2,1]=>111100101=>101001111
[1,2,3,1,2]=>[2,1,3,2,1]=>101100101=>101001101
[1,2,3,2,1]=>[1,2,3,2,1]=>110100101=>101001011
[1,2,3,3]=>[3,3,2,1]=>100100101=>101001001
[1,2,4,1,1]=>[1,1,4,2,1]=>111000101=>101000111
[1,2,4,2]=>[2,4,2,1]=>101000101=>101000101
[1,2,5,1]=>[1,5,2,1]=>110000101=>101000011
[1,2,6]=>[6,2,1]=>100000101=>101000001
[1,3,1,1,1,1,1]=>[1,1,1,1,1,3,1]=>111111001=>100111111
[1,3,1,1,1,2]=>[2,1,1,1,3,1]=>101111001=>100111101
[1,3,1,1,2,1]=>[1,2,1,1,3,1]=>110111001=>100111011
[1,3,1,1,3]=>[3,1,1,3,1]=>100111001=>100111001
[1,3,1,2,1,1]=>[1,1,2,1,3,1]=>111011001=>100110111
[1,3,1,2,2]=>[2,2,1,3,1]=>101011001=>100110101
[1,3,1,3,1]=>[1,3,1,3,1]=>110011001=>100110011
[1,3,1,4]=>[4,1,3,1]=>100011001=>100110001
[1,3,2,1,1,1]=>[1,1,1,2,3,1]=>111101001=>100101111
[1,3,2,1,2]=>[2,1,2,3,1]=>101101001=>100101101
[1,3,2,2,1]=>[1,2,2,3,1]=>110101001=>100101011
[1,3,2,3]=>[3,2,3,1]=>100101001=>100101001
[1,3,3,1,1]=>[1,1,3,3,1]=>111001001=>100100111
[1,3,3,2]=>[2,3,3,1]=>101001001=>100100101
[1,3,4,1]=>[1,4,3,1]=>110001001=>100100011
[1,3,5]=>[5,3,1]=>100001001=>100100001
[1,4,1,1,1,1]=>[1,1,1,1,4,1]=>111110001=>100011111
[1,4,1,1,2]=>[2,1,1,4,1]=>101110001=>100011101
[1,4,1,2,1]=>[1,2,1,4,1]=>110110001=>100011011
[1,4,1,3]=>[3,1,4,1]=>100110001=>100011001
[1,4,2,1,1]=>[1,1,2,4,1]=>111010001=>100010111
[1,4,2,2]=>[2,2,4,1]=>101010001=>100010101
[1,4,3,1]=>[1,3,4,1]=>110010001=>100010011
[1,4,4]=>[4,4,1]=>100010001=>100010001
[1,5,1,1,1]=>[1,1,1,5,1]=>111100001=>100001111
[1,5,1,2]=>[2,1,5,1]=>101100001=>100001101
[1,5,2,1]=>[1,2,5,1]=>110100001=>100001011
[1,5,3]=>[3,5,1]=>100100001=>100001001
[1,6,1,1]=>[1,1,6,1]=>111000001=>100000111
[1,6,2]=>[2,6,1]=>101000001=>100000101
[1,7,1]=>[1,7,1]=>110000001=>100000011
[1,8]=>[8,1]=>100000001=>100000001
[2,1,1,1,1,1,1,1]=>[1,1,1,1,1,1,1,2]=>111111110=>011111111
[2,1,1,1,1,1,2]=>[2,1,1,1,1,1,2]=>101111110=>011111101
[2,1,1,1,1,2,1]=>[1,2,1,1,1,1,2]=>110111110=>011111011
[2,1,1,1,1,3]=>[3,1,1,1,1,2]=>100111110=>011111001
[2,1,1,1,2,1,1]=>[1,1,2,1,1,1,2]=>111011110=>011110111
[2,1,1,1,2,2]=>[2,2,1,1,1,2]=>101011110=>011110101
[2,1,1,1,3,1]=>[1,3,1,1,1,2]=>110011110=>011110011
[2,1,1,1,4]=>[4,1,1,1,2]=>100011110=>011110001
[2,1,1,2,1,1,1]=>[1,1,1,2,1,1,2]=>111101110=>011101111
[2,1,1,2,1,2]=>[2,1,2,1,1,2]=>101101110=>011101101
[2,1,1,2,2,1]=>[1,2,2,1,1,2]=>110101110=>011101011
[2,1,1,2,3]=>[3,2,1,1,2]=>100101110=>011101001
[2,1,1,3,1,1]=>[1,1,3,1,1,2]=>111001110=>011100111
[2,1,1,3,2]=>[2,3,1,1,2]=>101001110=>011100101
[2,1,1,4,1]=>[1,4,1,1,2]=>110001110=>011100011
[2,1,1,5]=>[5,1,1,2]=>100001110=>011100001
[2,1,2,1,1,1,1]=>[1,1,1,1,2,1,2]=>111110110=>011011111
[2,1,2,1,1,2]=>[2,1,1,2,1,2]=>101110110=>011011101
[2,1,2,1,2,1]=>[1,2,1,2,1,2]=>110110110=>011011011
[2,1,2,1,3]=>[3,1,2,1,2]=>100110110=>011011001
[2,1,2,2,1,1]=>[1,1,2,2,1,2]=>111010110=>011010111
[2,1,2,2,2]=>[2,2,2,1,2]=>101010110=>011010101
[2,1,2,3,1]=>[1,3,2,1,2]=>110010110=>011010011
[2,1,2,4]=>[4,2,1,2]=>100010110=>011010001
[2,1,3,1,1,1]=>[1,1,1,3,1,2]=>111100110=>011001111
[2,1,3,1,2]=>[2,1,3,1,2]=>101100110=>011001101
[2,1,3,2,1]=>[1,2,3,1,2]=>110100110=>011001011
[2,1,3,3]=>[3,3,1,2]=>100100110=>011001001
[2,1,4,1,1]=>[1,1,4,1,2]=>111000110=>011000111
[2,1,4,2]=>[2,4,1,2]=>101000110=>011000101
[2,1,5,1]=>[1,5,1,2]=>110000110=>011000011
[2,1,6]=>[6,1,2]=>100000110=>011000001
[2,2,1,1,1,1,1]=>[1,1,1,1,1,2,2]=>111111010=>010111111
[2,2,1,1,1,2]=>[2,1,1,1,2,2]=>101111010=>010111101
[2,2,1,1,2,1]=>[1,2,1,1,2,2]=>110111010=>010111011
[2,2,1,1,3]=>[3,1,1,2,2]=>100111010=>010111001
[2,2,1,2,1,1]=>[1,1,2,1,2,2]=>111011010=>010110111
[2,2,1,2,2]=>[2,2,1,2,2]=>101011010=>010110101
[2,2,1,3,1]=>[1,3,1,2,2]=>110011010=>010110011
[2,2,1,4]=>[4,1,2,2]=>100011010=>010110001
[2,2,2,1,1,1]=>[1,1,1,2,2,2]=>111101010=>010101111
[2,2,2,1,2]=>[2,1,2,2,2]=>101101010=>010101101
[2,2,2,2,1]=>[1,2,2,2,2]=>110101010=>010101011
[2,2,2,3]=>[3,2,2,2]=>100101010=>010101001
[2,2,3,1,1]=>[1,1,3,2,2]=>111001010=>010100111
[2,2,3,2]=>[2,3,2,2]=>101001010=>010100101
[2,2,4,1]=>[1,4,2,2]=>110001010=>010100011
[2,2,5]=>[5,2,2]=>100001010=>010100001
[2,3,1,1,1,1]=>[1,1,1,1,3,2]=>111110010=>010011111
[2,3,1,1,2]=>[2,1,1,3,2]=>101110010=>010011101
[2,3,1,2,1]=>[1,2,1,3,2]=>110110010=>010011011
[2,3,1,3]=>[3,1,3,2]=>100110010=>010011001
[2,3,2,1,1]=>[1,1,2,3,2]=>111010010=>010010111
[2,3,2,2]=>[2,2,3,2]=>101010010=>010010101
[2,3,3,1]=>[1,3,3,2]=>110010010=>010010011
[2,3,4]=>[4,3,2]=>100010010=>010010001
[2,4,1,1,1]=>[1,1,1,4,2]=>111100010=>010001111
[2,4,1,2]=>[2,1,4,2]=>101100010=>010001101
[2,4,2,1]=>[1,2,4,2]=>110100010=>010001011
[2,4,3]=>[3,4,2]=>100100010=>010001001
[2,5,1,1]=>[1,1,5,2]=>111000010=>010000111
[2,5,2]=>[2,5,2]=>101000010=>010000101
[2,6,1]=>[1,6,2]=>110000010=>010000011
[2,7]=>[7,2]=>100000010=>010000001
[3,1,1,1,1,1,1]=>[1,1,1,1,1,1,3]=>111111100=>001111111
[3,1,1,1,1,2]=>[2,1,1,1,1,3]=>101111100=>001111101
[3,1,1,1,2,1]=>[1,2,1,1,1,3]=>110111100=>001111011
[3,1,1,1,3]=>[3,1,1,1,3]=>100111100=>001111001
[3,1,1,2,1,1]=>[1,1,2,1,1,3]=>111011100=>001110111
[3,1,1,2,2]=>[2,2,1,1,3]=>101011100=>001110101
[3,1,1,3,1]=>[1,3,1,1,3]=>110011100=>001110011
[3,1,1,4]=>[4,1,1,3]=>100011100=>001110001
[3,1,2,1,1,1]=>[1,1,1,2,1,3]=>111101100=>001101111
[3,1,2,1,2]=>[2,1,2,1,3]=>101101100=>001101101
[3,1,2,2,1]=>[1,2,2,1,3]=>110101100=>001101011
[3,1,2,3]=>[3,2,1,3]=>100101100=>001101001
[3,1,3,1,1]=>[1,1,3,1,3]=>111001100=>001100111
[3,1,3,2]=>[2,3,1,3]=>101001100=>001100101
[3,1,4,1]=>[1,4,1,3]=>110001100=>001100011
[3,1,5]=>[5,1,3]=>100001100=>001100001
[3,2,1,1,1,1]=>[1,1,1,1,2,3]=>111110100=>001011111
[3,2,1,1,2]=>[2,1,1,2,3]=>101110100=>001011101
[3,2,1,2,1]=>[1,2,1,2,3]=>110110100=>001011011
[3,2,1,3]=>[3,1,2,3]=>100110100=>001011001
[3,2,2,1,1]=>[1,1,2,2,3]=>111010100=>001010111
[3,2,2,2]=>[2,2,2,3]=>101010100=>001010101
[3,2,3,1]=>[1,3,2,3]=>110010100=>001010011
[3,2,4]=>[4,2,3]=>100010100=>001010001
[3,3,1,1,1]=>[1,1,1,3,3]=>111100100=>001001111
[3,3,1,2]=>[2,1,3,3]=>101100100=>001001101
[3,3,2,1]=>[1,2,3,3]=>110100100=>001001011
[3,3,3]=>[3,3,3]=>100100100=>001001001
[3,4,1,1]=>[1,1,4,3]=>111000100=>001000111
[3,4,2]=>[2,4,3]=>101000100=>001000101
[3,5,1]=>[1,5,3]=>110000100=>001000011
[3,6]=>[6,3]=>100000100=>001000001
[4,1,1,1,1,1]=>[1,1,1,1,1,4]=>111111000=>000111111
[4,1,1,1,2]=>[2,1,1,1,4]=>101111000=>000111101
[4,1,1,2,1]=>[1,2,1,1,4]=>110111000=>000111011
[4,1,1,3]=>[3,1,1,4]=>100111000=>000111001
[4,1,2,1,1]=>[1,1,2,1,4]=>111011000=>000110111
[4,1,2,2]=>[2,2,1,4]=>101011000=>000110101
[4,1,3,1]=>[1,3,1,4]=>110011000=>000110011
[4,1,4]=>[4,1,4]=>100011000=>000110001
[4,2,1,1,1]=>[1,1,1,2,4]=>111101000=>000101111
[4,2,1,2]=>[2,1,2,4]=>101101000=>000101101
[4,2,2,1]=>[1,2,2,4]=>110101000=>000101011
[4,2,3]=>[3,2,4]=>100101000=>000101001
[4,3,1,1]=>[1,1,3,4]=>111001000=>000100111
[4,3,2]=>[2,3,4]=>101001000=>000100101
[4,4,1]=>[1,4,4]=>110001000=>000100011
[4,5]=>[5,4]=>100001000=>000100001
[5,1,1,1,1]=>[1,1,1,1,5]=>111110000=>000011111
[5,1,1,2]=>[2,1,1,5]=>101110000=>000011101
[5,1,2,1]=>[1,2,1,5]=>110110000=>000011011
[5,1,3]=>[3,1,5]=>100110000=>000011001
[5,2,1,1]=>[1,1,2,5]=>111010000=>000010111
[5,2,2]=>[2,2,5]=>101010000=>000010101
[5,3,1]=>[1,3,5]=>110010000=>000010011
[5,4]=>[4,5]=>100010000=>000010001
[6,1,1,1]=>[1,1,1,6]=>111100000=>000001111
[6,1,2]=>[2,1,6]=>101100000=>000001101
[6,2,1]=>[1,2,6]=>110100000=>000001011
[6,3]=>[3,6]=>100100000=>000001001
[7,1,1]=>[1,1,7]=>111000000=>000000111
[7,2]=>[2,7]=>101000000=>000000101
[8,1]=>[1,8]=>110000000=>000000011
[9]=>[9]=>100000000=>000000001
[1,1,1,1,1,1,1,1,1,1]=>[1,1,1,1,1,1,1,1,1,1]=>1111111111=>1111111111
[1,1,1,1,1,1,1,1,2]=>[2,1,1,1,1,1,1,1,1]=>1011111111=>1111111101
[1,1,1,1,1,1,1,2,1]=>[1,2,1,1,1,1,1,1,1]=>1101111111=>1111111011
[1,1,1,1,1,1,1,3]=>[3,1,1,1,1,1,1,1]=>1001111111=>1111111001
[1,1,1,1,1,1,2,1,1]=>[1,1,2,1,1,1,1,1,1]=>1110111111=>1111110111
[1,1,1,1,1,1,3,1]=>[1,3,1,1,1,1,1,1]=>1100111111=>1111110011
[1,1,1,1,1,2,1,1,1]=>[1,1,1,2,1,1,1,1,1]=>1111011111=>1111101111
[1,1,1,1,1,2,1,2]=>[2,1,2,1,1,1,1,1]=>1011011111=>1111101101
[1,1,1,1,1,2,2,1]=>[1,2,2,1,1,1,1,1]=>1101011111=>1111101011
[1,1,1,1,1,2,3]=>[3,2,1,1,1,1,1]=>1001011111=>1111101001
[1,1,1,1,1,3,1,1]=>[1,1,3,1,1,1,1,1]=>1110011111=>1111100111
[1,1,1,1,1,3,2]=>[2,3,1,1,1,1,1]=>1010011111=>1111100101
[1,1,1,1,1,4,1]=>[1,4,1,1,1,1,1]=>1100011111=>1111100011
[1,1,1,1,1,5]=>[5,1,1,1,1,1]=>1000011111=>1111100001
[1,1,1,1,2,1,1,1,1]=>[1,1,1,1,2,1,1,1,1]=>1111101111=>1111011111
[1,1,1,1,2,1,2,1]=>[1,2,1,2,1,1,1,1]=>1101101111=>1111011011
[1,1,1,1,2,2,1,1]=>[1,1,2,2,1,1,1,1]=>1110101111=>1111010111
[1,1,1,1,2,4]=>[4,2,1,1,1,1]=>1000101111=>1111010001
[1,1,1,1,3,2,1]=>[1,2,3,1,1,1,1]=>1101001111=>1111001011
[1,1,1,1,3,3]=>[3,3,1,1,1,1]=>1001001111=>1111001001
[1,1,1,1,4,2]=>[2,4,1,1,1,1]=>1010001111=>1111000101
[1,1,1,1,5,1]=>[1,5,1,1,1,1]=>1100001111=>1111000011
[1,1,1,1,6]=>[6,1,1,1,1]=>1000001111=>1111000001
[1,1,1,2,1,1,1,1,1]=>[1,1,1,1,1,2,1,1,1]=>1111110111=>1110111111
[1,1,1,2,1,1,1,2]=>[2,1,1,1,2,1,1,1]=>1011110111=>1110111101
[1,1,1,2,1,1,2,1]=>[1,2,1,1,2,1,1,1]=>1101110111=>1110111011
[1,1,1,2,1,1,3]=>[3,1,1,2,1,1,1]=>1001110111=>1110111001
[1,1,1,2,1,2,1,1]=>[1,1,2,1,2,1,1,1]=>1110110111=>1110110111
[1,1,1,2,1,2,2]=>[2,2,1,2,1,1,1]=>1010110111=>1110110101
[1,1,1,2,1,3,1]=>[1,3,1,2,1,1,1]=>1100110111=>1110110011
[1,1,1,2,1,4]=>[4,1,2,1,1,1]=>1000110111=>1110110001
[1,1,1,2,2,1,1,1]=>[1,1,1,2,2,1,1,1]=>1111010111=>1110101111
[1,1,1,2,2,2,1]=>[1,2,2,2,1,1,1]=>1101010111=>1110101011
[1,1,1,2,2,3]=>[3,2,2,1,1,1]=>1001010111=>1110101001
[1,1,1,2,3,1,1]=>[1,1,3,2,1,1,1]=>1110010111=>1110100111
[1,1,1,2,3,2]=>[2,3,2,1,1,1]=>1010010111=>1110100101
[1,1,1,2,4,1]=>[1,4,2,1,1,1]=>1100010111=>1110100011
[1,1,1,2,5]=>[5,2,1,1,1]=>1000010111=>1110100001
[1,1,1,3,1,1,1,1]=>[1,1,1,1,3,1,1,1]=>1111100111=>1110011111
[1,1,1,3,1,1,2]=>[2,1,1,3,1,1,1]=>1011100111=>1110011101
[1,1,1,3,1,2,1]=>[1,2,1,3,1,1,1]=>1101100111=>1110011011
[1,1,1,3,1,3]=>[3,1,3,1,1,1]=>1001100111=>1110011001
[1,1,1,3,2,2]=>[2,2,3,1,1,1]=>1010100111=>1110010101
[1,1,1,3,3,1]=>[1,3,3,1,1,1]=>1100100111=>1110010011
[1,1,1,4,1,1,1]=>[1,1,1,4,1,1,1]=>1111000111=>1110001111
[1,1,1,4,1,2]=>[2,1,4,1,1,1]=>1011000111=>1110001101
[1,1,1,4,2,1]=>[1,2,4,1,1,1]=>1101000111=>1110001011
[1,1,1,4,3]=>[3,4,1,1,1]=>1001000111=>1110001001
[1,1,1,5,1,1]=>[1,1,5,1,1,1]=>1110000111=>1110000111
[1,1,1,5,2]=>[2,5,1,1,1]=>1010000111=>1110000101
[1,1,1,6,1]=>[1,6,1,1,1]=>1100000111=>1110000011
[1,1,1,7]=>[7,1,1,1]=>1000000111=>1110000001
[1,1,2,1,1,1,1,1,1]=>[1,1,1,1,1,1,2,1,1]=>1111111011=>1101111111
[1,1,2,1,1,1,2,1]=>[1,2,1,1,1,2,1,1]=>1101111011=>1101111011
[1,1,2,1,1,1,3]=>[3,1,1,1,2,1,1]=>1001111011=>1101111001
[1,1,2,1,1,4]=>[4,1,1,2,1,1]=>1000111011=>1101110001
[1,1,2,1,2,1,1,1]=>[1,1,1,2,1,2,1,1]=>1111011011=>1101101111
[1,1,2,1,2,2,1]=>[1,2,2,1,2,1,1]=>1101011011=>1101101011
[1,1,2,1,2,3]=>[3,2,1,2,1,1]=>1001011011=>1101101001
[1,1,2,1,3,1,1]=>[1,1,3,1,2,1,1]=>1110011011=>1101100111
[1,1,2,1,3,2]=>[2,3,1,2,1,1]=>1010011011=>1101100101
[1,1,2,1,4,1]=>[1,4,1,2,1,1]=>1100011011=>1101100011
[1,1,2,1,5]=>[5,1,2,1,1]=>1000011011=>1101100001
[1,1,2,2,1,1,1,1]=>[1,1,1,1,2,2,1,1]=>1111101011=>1101011111
[1,1,2,2,1,1,2]=>[2,1,1,2,2,1,1]=>1011101011=>1101011101
[1,1,2,2,1,2,1]=>[1,2,1,2,2,1,1]=>1101101011=>1101011011
[1,1,2,2,1,3]=>[3,1,2,2,1,1]=>1001101011=>1101011001
[1,1,2,2,2,1,1]=>[1,1,2,2,2,1,1]=>1110101011=>1101010111
[1,1,2,2,2,2]=>[2,2,2,2,1,1]=>1010101011=>1101010101
[1,1,2,2,3,1]=>[1,3,2,2,1,1]=>1100101011=>1101010011
[1,1,2,2,4]=>[4,2,2,1,1]=>1000101011=>1101010001
[1,1,2,3,1,2]=>[2,1,3,2,1,1]=>1011001011=>1101001101
[1,1,2,3,2,1]=>[1,2,3,2,1,1]=>1101001011=>1101001011
[1,1,2,3,3]=>[3,3,2,1,1]=>1001001011=>1101001001
[1,1,2,4,2]=>[2,4,2,1,1]=>1010001011=>1101000101
[1,1,2,5,1]=>[1,5,2,1,1]=>1100001011=>1101000011
[1,1,2,6]=>[6,2,1,1]=>1000001011=>1101000001
[1,1,3,1,1,1,1,1]=>[1,1,1,1,1,3,1,1]=>1111110011=>1100111111
[1,1,3,1,1,3]=>[3,1,1,3,1,1]=>1001110011=>1100111001
[1,1,3,1,2,1,1]=>[1,1,2,1,3,1,1]=>1110110011=>1100110111
[1,1,3,1,2,2]=>[2,2,1,3,1,1]=>1010110011=>1100110101
[1,1,3,1,3,1]=>[1,3,1,3,1,1]=>1100110011=>1100110011
[1,1,3,2,1,1,1]=>[1,1,1,2,3,1,1]=>1111010011=>1100101111
[1,1,3,2,1,2]=>[2,1,2,3,1,1]=>1011010011=>1100101101
[1,1,3,2,2,1]=>[1,2,2,3,1,1]=>1101010011=>1100101011
[1,1,3,2,3]=>[3,2,3,1,1]=>1001010011=>1100101001
[1,1,3,3,1,1]=>[1,1,3,3,1,1]=>1110010011=>1100100111
[1,1,3,3,2]=>[2,3,3,1,1]=>1010010011=>1100100101
[1,1,3,4,1]=>[1,4,3,1,1]=>1100010011=>1100100011
[1,1,4,1,2,1]=>[1,2,1,4,1,1]=>1101100011=>1100011011
[1,1,4,1,3]=>[3,1,4,1,1]=>1001100011=>1100011001
[1,1,4,2,1,1]=>[1,1,2,4,1,1]=>1110100011=>1100010111
[1,1,4,3,1]=>[1,3,4,1,1]=>1100100011=>1100010011
[1,1,5,1,1,1]=>[1,1,1,5,1,1]=>1111000011=>1100001111
[1,1,5,1,2]=>[2,1,5,1,1]=>1011000011=>1100001101
[1,1,5,2,1]=>[1,2,5,1,1]=>1101000011=>1100001011
[1,1,5,3]=>[3,5,1,1]=>1001000011=>1100001001
[1,1,6,1,1]=>[1,1,6,1,1]=>1110000011=>1100000111
[1,1,7,1]=>[1,7,1,1]=>1100000011=>1100000011
[1,1,8]=>[8,1,1]=>1000000011=>1100000001
[1,2,1,1,1,1,1,1,1]=>[1,1,1,1,1,1,1,2,1]=>1111111101=>1011111111
[1,2,1,1,1,1,1,2]=>[2,1,1,1,1,1,2,1]=>1011111101=>1011111101
[1,2,1,1,1,1,2,1]=>[1,2,1,1,1,1,2,1]=>1101111101=>1011111011
[1,2,1,1,1,2,1,1]=>[1,1,2,1,1,1,2,1]=>1110111101=>1011110111
[1,2,1,1,1,2,2]=>[2,2,1,1,1,2,1]=>1010111101=>1011110101
[1,2,1,1,1,3,1]=>[1,3,1,1,1,2,1]=>1100111101=>1011110011
[1,2,1,1,1,4]=>[4,1,1,1,2,1]=>1000111101=>1011110001
[1,2,1,1,2,1,1,1]=>[1,1,1,2,1,1,2,1]=>1111011101=>1011101111
[1,2,1,1,2,2,1]=>[1,2,2,1,1,2,1]=>1101011101=>1011101011
[1,2,1,1,2,3]=>[3,2,1,1,2,1]=>1001011101=>1011101001
[1,2,1,1,3,1,1]=>[1,1,3,1,1,2,1]=>1110011101=>1011100111
[1,2,1,1,3,2]=>[2,3,1,1,2,1]=>1010011101=>1011100101
[1,2,1,1,4,1]=>[1,4,1,1,2,1]=>1100011101=>1011100011
[1,2,1,1,5]=>[5,1,1,2,1]=>1000011101=>1011100001
[1,2,1,2,1,1,1,1]=>[1,1,1,1,2,1,2,1]=>1111101101=>1011011111
[1,2,1,2,1,1,2]=>[2,1,1,2,1,2,1]=>1011101101=>1011011101
[1,2,1,2,1,2,1]=>[1,2,1,2,1,2,1]=>1101101101=>1011011011
[1,2,1,2,1,3]=>[3,1,2,1,2,1]=>1001101101=>1011011001
[1,2,1,2,2,1,1]=>[1,1,2,2,1,2,1]=>1110101101=>1011010111
[1,2,1,2,2,2]=>[2,2,2,1,2,1]=>1010101101=>1011010101
[1,2,1,2,3,1]=>[1,3,2,1,2,1]=>1100101101=>1011010011
[1,2,1,2,4]=>[4,2,1,2,1]=>1000101101=>1011010001
[1,2,1,3,1,1,1]=>[1,1,1,3,1,2,1]=>1111001101=>1011001111
[1,2,1,3,1,2]=>[2,1,3,1,2,1]=>1011001101=>1011001101
[1,2,1,3,2,1]=>[1,2,3,1,2,1]=>1101001101=>1011001011
[1,2,1,3,3]=>[3,3,1,2,1]=>1001001101=>1011001001
[1,2,1,4,1,1]=>[1,1,4,1,2,1]=>1110001101=>1011000111
[1,2,1,4,2]=>[2,4,1,2,1]=>1010001101=>1011000101
[1,2,1,5,1]=>[1,5,1,2,1]=>1100001101=>1011000011
[1,2,1,6]=>[6,1,2,1]=>1000001101=>1011000001
[1,2,2,1,1,1,1,1]=>[1,1,1,1,1,2,2,1]=>1111110101=>1010111111
[1,2,2,1,1,2,1]=>[1,2,1,1,2,2,1]=>1101110101=>1010111011
[1,2,2,1,1,3]=>[3,1,1,2,2,1]=>1001110101=>1010111001
[1,2,2,1,2,1,1]=>[1,1,2,1,2,2,1]=>1110110101=>1010110111
[1,2,2,1,2,2]=>[2,2,1,2,2,1]=>1010110101=>1010110101
[1,2,2,1,3,1]=>[1,3,1,2,2,1]=>1100110101=>1010110011
[1,2,2,1,4]=>[4,1,2,2,1]=>1000110101=>1010110001
[1,2,2,2,1,1,1]=>[1,1,1,2,2,2,1]=>1111010101=>1010101111
[1,2,2,2,1,2]=>[2,1,2,2,2,1]=>1011010101=>1010101101
[1,2,2,2,2,1]=>[1,2,2,2,2,1]=>1101010101=>1010101011
[1,2,2,2,3]=>[3,2,2,2,1]=>1001010101=>1010101001
[1,2,2,3,1,1]=>[1,1,3,2,2,1]=>1110010101=>1010100111
[1,2,2,3,2]=>[2,3,2,2,1]=>1010010101=>1010100101
[1,2,2,4,1]=>[1,4,2,2,1]=>1100010101=>1010100011
[1,2,2,5]=>[5,2,2,1]=>1000010101=>1010100001
[1,2,3,1,1,1,1]=>[1,1,1,1,3,2,1]=>1111100101=>1010011111
[1,2,3,1,1,2]=>[2,1,1,3,2,1]=>1011100101=>1010011101
[1,2,3,1,2,1]=>[1,2,1,3,2,1]=>1101100101=>1010011011
[1,2,3,2,1,1]=>[1,1,2,3,2,1]=>1110100101=>1010010111
[1,2,3,2,2]=>[2,2,3,2,1]=>1010100101=>1010010101
[1,2,3,3,1]=>[1,3,3,2,1]=>1100100101=>1010010011
[1,2,3,4]=>[4,3,2,1]=>1000100101=>1010010001
[1,2,4,1,1,1]=>[1,1,1,4,2,1]=>1111000101=>1010001111
[1,2,4,1,2]=>[2,1,4,2,1]=>1011000101=>1010001101
[1,2,4,2,1]=>[1,2,4,2,1]=>1101000101=>1010001011
[1,2,5,1,1]=>[1,1,5,2,1]=>1110000101=>1010000111
[1,2,5,2]=>[2,5,2,1]=>1010000101=>1010000101
[1,2,6,1]=>[1,6,2,1]=>1100000101=>1010000011
[1,2,7]=>[7,2,1]=>1000000101=>1010000001
[1,3,1,1,1,1,1,1]=>[1,1,1,1,1,1,3,1]=>1111111001=>1001111111
[1,3,1,1,1,1,2]=>[2,1,1,1,1,3,1]=>1011111001=>1001111101
[1,3,1,1,1,2,1]=>[1,2,1,1,1,3,1]=>1101111001=>1001111011
[1,3,1,1,1,3]=>[3,1,1,1,3,1]=>1001111001=>1001111001
[1,3,1,1,3,1]=>[1,3,1,1,3,1]=>1100111001=>1001110011
[1,3,1,2,1,1,1]=>[1,1,1,2,1,3,1]=>1111011001=>1001101111
[1,3,1,2,1,2]=>[2,1,2,1,3,1]=>1011011001=>1001101101
[1,3,1,2,2,1]=>[1,2,2,1,3,1]=>1101011001=>1001101011
[1,3,1,3,1,1]=>[1,1,3,1,3,1]=>1110011001=>1001100111
[1,3,1,3,2]=>[2,3,1,3,1]=>1010011001=>1001100101
[1,3,1,4,1]=>[1,4,1,3,1]=>1100011001=>1001100011
[1,3,1,5]=>[5,1,3,1]=>1000011001=>1001100001
[1,3,2,1,1,1,1]=>[1,1,1,1,2,3,1]=>1111101001=>1001011111
[1,3,2,1,2,1]=>[1,2,1,2,3,1]=>1101101001=>1001011011
[1,3,2,1,3]=>[3,1,2,3,1]=>1001101001=>1001011001
[1,3,2,2,1,1]=>[1,1,2,2,3,1]=>1110101001=>1001010111
[1,3,2,3,1]=>[1,3,2,3,1]=>1100101001=>1001010011
[1,3,3,1,1,1]=>[1,1,1,3,3,1]=>1111001001=>1001001111
[1,3,3,2,1]=>[1,2,3,3,1]=>1101001001=>1001001011
[1,3,3,3]=>[3,3,3,1]=>1001001001=>1001001001
[1,3,4,1,1]=>[1,1,4,3,1]=>1110001001=>1001000111
[1,3,5,1]=>[1,5,3,1]=>1100001001=>1001000011
[1,4,1,1,1,1,1]=>[1,1,1,1,1,4,1]=>1111110001=>1000111111
[1,4,1,1,1,2]=>[2,1,1,1,4,1]=>1011110001=>1000111101
[1,4,1,1,2,1]=>[1,2,1,1,4,1]=>1101110001=>1000111011
[1,4,1,2,1,1]=>[1,1,2,1,4,1]=>1110110001=>1000110111
[1,4,1,2,2]=>[2,2,1,4,1]=>1010110001=>1000110101
[1,4,1,3,1]=>[1,3,1,4,1]=>1100110001=>1000110011
[1,4,1,4]=>[4,1,4,1]=>1000110001=>1000110001
[1,4,2,1,1,1]=>[1,1,1,2,4,1]=>1111010001=>1000101111
[1,4,2,2,1]=>[1,2,2,4,1]=>1101010001=>1000101011
[1,4,2,3]=>[3,2,4,1]=>1001010001=>1000101001
[1,4,3,1,1]=>[1,1,3,4,1]=>1110010001=>1000100111
[1,4,3,2]=>[2,3,4,1]=>1010010001=>1000100101
[1,4,4,1]=>[1,4,4,1]=>1100010001=>1000100011
[1,4,5]=>[5,4,1]=>1000010001=>1000100001
[1,5,1,1,1,1]=>[1,1,1,1,5,1]=>1111100001=>1000011111
[1,5,1,1,2]=>[2,1,1,5,1]=>1011100001=>1000011101
[1,5,1,2,1]=>[1,2,1,5,1]=>1101100001=>1000011011
[1,5,1,3]=>[3,1,5,1]=>1001100001=>1000011001
[1,5,2,1,1]=>[1,1,2,5,1]=>1110100001=>1000010111
[1,5,3,1]=>[1,3,5,1]=>1100100001=>1000010011
[1,6,1,1,1]=>[1,1,1,6,1]=>1111000001=>1000001111
[1,6,1,2]=>[2,1,6,1]=>1011000001=>1000001101
[1,6,2,1]=>[1,2,6,1]=>1101000001=>1000001011
[1,6,3]=>[3,6,1]=>1001000001=>1000001001
[1,7,1,1]=>[1,1,7,1]=>1110000001=>1000000111
[1,7,2]=>[2,7,1]=>1010000001=>1000000101
[1,8,1]=>[1,8,1]=>1100000001=>1000000011
[1,9]=>[9,1]=>1000000001=>1000000001
[2,1,1,1,1,1,1,1,1]=>[1,1,1,1,1,1,1,1,2]=>1111111110=>0111111111
[2,1,1,1,1,1,1,2]=>[2,1,1,1,1,1,1,2]=>1011111110=>0111111101
[2,1,1,1,1,1,2,1]=>[1,2,1,1,1,1,1,2]=>1101111110=>0111111011
[2,1,1,1,1,1,3]=>[3,1,1,1,1,1,2]=>1001111110=>0111111001
[2,1,1,1,1,2,1,1]=>[1,1,2,1,1,1,1,2]=>1110111110=>0111110111
[2,1,1,1,1,2,2]=>[2,2,1,1,1,1,2]=>1010111110=>0111110101
[2,1,1,1,1,3,1]=>[1,3,1,1,1,1,2]=>1100111110=>0111110011
[2,1,1,1,1,4]=>[4,1,1,1,1,2]=>1000111110=>0111110001
[2,1,1,1,2,1,1,1]=>[1,1,1,2,1,1,1,2]=>1111011110=>0111101111
[2,1,1,1,2,1,2]=>[2,1,2,1,1,1,2]=>1011011110=>0111101101
[2,1,1,1,2,2,1]=>[1,2,2,1,1,1,2]=>1101011110=>0111101011
[2,1,1,1,2,3]=>[3,2,1,1,1,2]=>1001011110=>0111101001
[2,1,1,1,3,1,1]=>[1,1,3,1,1,1,2]=>1110011110=>0111100111
[2,1,1,1,3,2]=>[2,3,1,1,1,2]=>1010011110=>0111100101
[2,1,1,1,4,1]=>[1,4,1,1,1,2]=>1100011110=>0111100011
[2,1,1,1,5]=>[5,1,1,1,2]=>1000011110=>0111100001
[2,1,1,2,1,1,1,1]=>[1,1,1,1,2,1,1,2]=>1111101110=>0111011111
[2,1,1,2,1,1,2]=>[2,1,1,2,1,1,2]=>1011101110=>0111011101
[2,1,1,2,1,3]=>[3,1,2,1,1,2]=>1001101110=>0111011001
[2,1,1,2,3,1]=>[1,3,2,1,1,2]=>1100101110=>0111010011
[2,1,1,2,4]=>[4,2,1,1,2]=>1000101110=>0111010001
[2,1,1,3,1,1,1]=>[1,1,1,3,1,1,2]=>1111001110=>0111001111
[2,1,1,3,2,1]=>[1,2,3,1,1,2]=>1101001110=>0111001011
[2,1,1,3,3]=>[3,3,1,1,2]=>1001001110=>0111001001
[2,1,1,4,2]=>[2,4,1,1,2]=>1010001110=>0111000101
[2,1,1,5,1]=>[1,5,1,1,2]=>1100001110=>0111000011
[2,1,1,6]=>[6,1,1,2]=>1000001110=>0111000001
[2,1,2,1,1,1,1,1]=>[1,1,1,1,1,2,1,2]=>1111110110=>0110111111
[2,1,2,1,1,1,2]=>[2,1,1,1,2,1,2]=>1011110110=>0110111101
[2,1,2,1,3,1]=>[1,3,1,2,1,2]=>1100110110=>0110110011
[2,1,2,1,4]=>[4,1,2,1,2]=>1000110110=>0110110001
[2,1,2,2,1,2]=>[2,1,2,2,1,2]=>1011010110=>0110101101
[2,1,2,2,2,1]=>[1,2,2,2,1,2]=>1101010110=>0110101011
[2,1,2,2,3]=>[3,2,2,1,2]=>1001010110=>0110101001
[2,1,2,3,2]=>[2,3,2,1,2]=>1010010110=>0110100101
[2,1,2,4,1]=>[1,4,2,1,2]=>1100010110=>0110100011
[2,1,2,5]=>[5,2,1,2]=>1000010110=>0110100001
[2,1,3,1,2,1]=>[1,2,1,3,1,2]=>1101100110=>0110011011
[2,1,3,1,3]=>[3,1,3,1,2]=>1001100110=>0110011001
[2,1,3,2,2]=>[2,2,3,1,2]=>1010100110=>0110010101
[2,1,3,3,1]=>[1,3,3,1,2]=>1100100110=>0110010011
[2,1,3,4]=>[4,3,1,2]=>1000100110=>0110010001
[2,1,4,1,1,1]=>[1,1,1,4,1,2]=>1111000110=>0110001111
[2,1,4,1,2]=>[2,1,4,1,2]=>1011000110=>0110001101
[2,1,5,1,1]=>[1,1,5,1,2]=>1110000110=>0110000111
[2,1,6,1]=>[1,6,1,2]=>1100000110=>0110000011
[2,1,7]=>[7,1,2]=>1000000110=>0110000001
[2,2,1,1,1,1,2]=>[2,1,1,1,1,2,2]=>1011111010=>0101111101
[2,2,1,1,3,1]=>[1,3,1,1,2,2]=>1100111010=>0101110011
[2,2,1,1,4]=>[4,1,1,2,2]=>1000111010=>0101110001
[2,2,1,2,2,1]=>[1,2,2,1,2,2]=>1101011010=>0101101011
[2,2,1,2,3]=>[3,2,1,2,2]=>1001011010=>0101101001
[2,2,1,3,2]=>[2,3,1,2,2]=>1010011010=>0101100101
[2,2,1,4,1]=>[1,4,1,2,2]=>1100011010=>0101100011
[2,2,1,5]=>[5,1,2,2]=>1000011010=>0101100001
[2,2,2,1,1,2]=>[2,1,1,2,2,2]=>1011101010=>0101011101
[2,2,2,1,3]=>[3,1,2,2,2]=>1001101010=>0101011001
[2,2,2,2,1,1]=>[1,1,2,2,2,2]=>1110101010=>0101010111
[2,2,2,2,2]=>[2,2,2,2,2]=>1010101010=>0101010101
[2,2,2,3,1]=>[1,3,2,2,2]=>1100101010=>0101010011
[2,2,2,4]=>[4,2,2,2]=>1000101010=>0101010001
[2,2,3,1,1,1]=>[1,1,1,3,2,2]=>1111001010=>0101001111
[2,2,3,1,2]=>[2,1,3,2,2]=>1011001010=>0101001101
[2,2,3,2,1]=>[1,2,3,2,2]=>1101001010=>0101001011
[2,2,3,3]=>[3,3,2,2]=>1001001010=>0101001001
[2,2,4,1,1]=>[1,1,4,2,2]=>1110001010=>0101000111
[2,2,4,2]=>[2,4,2,2]=>1010001010=>0101000101
[2,2,5,1]=>[1,5,2,2]=>1100001010=>0101000011
[2,2,6]=>[6,2,2]=>1000001010=>0101000001
[2,3,1,1,1,2]=>[2,1,1,1,3,2]=>1011110010=>0100111101
[2,3,1,1,3]=>[3,1,1,3,2]=>1001110010=>0100111001
[2,3,1,2,1,1]=>[1,1,2,1,3,2]=>1110110010=>0100110111
[2,3,1,2,2]=>[2,2,1,3,2]=>1010110010=>0100110101
[2,3,1,3,1]=>[1,3,1,3,2]=>1100110010=>0100110011
[2,3,1,4]=>[4,1,3,2]=>1000110010=>0100110001
[2,3,2,1,1,1]=>[1,1,1,2,3,2]=>1111010010=>0100101111
[2,3,2,1,2]=>[2,1,2,3,2]=>1011010010=>0100101101
[2,3,2,2,1]=>[1,2,2,3,2]=>1101010010=>0100101011
[2,3,2,3]=>[3,2,3,2]=>1001010010=>0100101001
[2,3,3,1,1]=>[1,1,3,3,2]=>1110010010=>0100100111
[2,3,3,2]=>[2,3,3,2]=>1010010010=>0100100101
[2,3,4,1]=>[1,4,3,2]=>1100010010=>0100100011
[2,3,5]=>[5,3,2]=>1000010010=>0100100001
[2,4,1,1,1,1]=>[1,1,1,1,4,2]=>1111100010=>0100011111
[2,4,1,1,2]=>[2,1,1,4,2]=>1011100010=>0100011101
[2,4,1,2,1]=>[1,2,1,4,2]=>1101100010=>0100011011
[2,4,1,3]=>[3,1,4,2]=>1001100010=>0100011001
[2,4,2,1,1]=>[1,1,2,4,2]=>1110100010=>0100010111
[2,4,2,2]=>[2,2,4,2]=>1010100010=>0100010101
[2,4,3,1]=>[1,3,4,2]=>1100100010=>0100010011
[2,5,1,1,1]=>[1,1,1,5,2]=>1111000010=>0100001111
[2,5,1,2]=>[2,1,5,2]=>1011000010=>0100001101
[2,6,2]=>[2,6,2]=>1010000010=>0100000101
[2,7,1]=>[1,7,2]=>1100000010=>0100000011
[2,8]=>[8,2]=>1000000010=>0100000001
[3,1,1,1,1,1,2]=>[2,1,1,1,1,1,3]=>1011111100=>0011111101
[3,1,1,1,2,1,1]=>[1,1,2,1,1,1,3]=>1110111100=>0011110111
[3,1,1,1,4]=>[4,1,1,1,3]=>1000111100=>0011110001
[3,1,1,2,1,1,1]=>[1,1,1,2,1,1,3]=>1111011100=>0011101111
[3,1,1,3,2]=>[2,3,1,1,3]=>1010011100=>0011100101
[3,1,1,4,1]=>[1,4,1,1,3]=>1100011100=>0011100011
[3,1,2,1,3]=>[3,1,2,1,3]=>1001101100=>0011011001
[3,1,2,2,1,1]=>[1,1,2,2,1,3]=>1110101100=>0011010111
[3,1,2,2,2]=>[2,2,2,1,3]=>1010101100=>0011010101
[3,1,2,3,1]=>[1,3,2,1,3]=>1100101100=>0011010011
[3,1,2,4]=>[4,2,1,3]=>1000101100=>0011010001
[3,1,3,1,1,1]=>[1,1,1,3,1,3]=>1111001100=>0011001111
[3,1,3,1,2]=>[2,1,3,1,3]=>1011001100=>0011001101
[3,1,3,2,1]=>[1,2,3,1,3]=>1101001100=>0011001011
[3,1,3,3]=>[3,3,1,3]=>1001001100=>0011001001
[3,1,4,1,1]=>[1,1,4,1,3]=>1110001100=>0011000111
[3,1,4,2]=>[2,4,1,3]=>1010001100=>0011000101
[3,1,6]=>[6,1,3]=>1000001100=>0011000001
[3,2,1,1,1,1,1]=>[1,1,1,1,1,2,3]=>1111110100=>0010111111
[3,2,1,1,1,2]=>[2,1,1,1,2,3]=>1011110100=>0010111101
[3,2,1,1,3]=>[3,1,1,2,3]=>1001110100=>0010111001
[3,2,1,2,1,1]=>[1,1,2,1,2,3]=>1110110100=>0010110111
[3,2,1,2,2]=>[2,2,1,2,3]=>1010110100=>0010110101
[3,2,1,3,1]=>[1,3,1,2,3]=>1100110100=>0010110011
[3,2,1,4]=>[4,1,2,3]=>1000110100=>0010110001
[3,2,2,1,1,1]=>[1,1,1,2,2,3]=>1111010100=>0010101111
[3,2,2,1,2]=>[2,1,2,2,3]=>1011010100=>0010101101
[3,2,2,2,1]=>[1,2,2,2,3]=>1101010100=>0010101011
[3,2,2,3]=>[3,2,2,3]=>1001010100=>0010101001
[3,2,3,1,1]=>[1,1,3,2,3]=>1110010100=>0010100111
[3,2,3,2]=>[2,3,2,3]=>1010010100=>0010100101
[3,2,5]=>[5,2,3]=>1000010100=>0010100001
[3,3,1,1,1,1]=>[1,1,1,1,3,3]=>1111100100=>0010011111
[3,3,1,1,2]=>[2,1,1,3,3]=>1011100100=>0010011101
[3,3,1,2,1]=>[1,2,1,3,3]=>1101100100=>0010011011
[3,3,1,3]=>[3,1,3,3]=>1001100100=>0010011001
[3,3,2,1,1]=>[1,1,2,3,3]=>1110100100=>0010010111
[3,3,2,2]=>[2,2,3,3]=>1010100100=>0010010101
[3,3,4]=>[4,3,3]=>1000100100=>0010010001
[3,4,1,1,1]=>[1,1,1,4,3]=>1111000100=>0010001111
[3,4,1,2]=>[2,1,4,3]=>1011000100=>0010001101
[3,4,3]=>[3,4,3]=>1001000100=>0010001001
[3,5,1,1]=>[1,1,5,3]=>1110000100=>0010000111
[3,5,2]=>[2,5,3]=>1010000100=>0010000101
[3,6,1]=>[1,6,3]=>1100000100=>0010000011
[3,7]=>[7,3]=>1000000100=>0010000001
[4,1,1,1,2,1]=>[1,2,1,1,1,4]=>1101111000=>0001111011
[4,1,1,1,3]=>[3,1,1,1,4]=>1001111000=>0001111001
[4,1,1,2,1,1]=>[1,1,2,1,1,4]=>1110111000=>0001110111
[4,1,1,2,2]=>[2,2,1,1,4]=>1010111000=>0001110101
[4,1,1,3,1]=>[1,3,1,1,4]=>1100111000=>0001110011
[4,1,1,4]=>[4,1,1,4]=>1000111000=>0001110001
[4,1,2,1,1,1]=>[1,1,1,2,1,4]=>1111011000=>0001101111
[4,1,2,1,2]=>[2,1,2,1,4]=>1011011000=>0001101101
[4,1,2,2,1]=>[1,2,2,1,4]=>1101011000=>0001101011
[4,1,2,3]=>[3,2,1,4]=>1001011000=>0001101001
[4,1,3,1,1]=>[1,1,3,1,4]=>1110011000=>0001100111
[4,1,3,2]=>[2,3,1,4]=>1010011000=>0001100101
[4,1,4,1]=>[1,4,1,4]=>1100011000=>0001100011
[4,1,5]=>[5,1,4]=>1000011000=>0001100001
[4,2,1,1,1,1]=>[1,1,1,1,2,4]=>1111101000=>0001011111
[4,2,1,1,2]=>[2,1,1,2,4]=>1011101000=>0001011101
[4,2,1,2,1]=>[1,2,1,2,4]=>1101101000=>0001011011
[4,2,1,3]=>[3,1,2,4]=>1001101000=>0001011001
[4,2,2,1,1]=>[1,1,2,2,4]=>1110101000=>0001010111
[4,2,2,2]=>[2,2,2,4]=>1010101000=>0001010101
[4,2,3,1]=>[1,3,2,4]=>1100101000=>0001010011
[4,2,4]=>[4,2,4]=>1000101000=>0001010001
[4,3,1,1,1]=>[1,1,1,3,4]=>1111001000=>0001001111
[4,3,1,2]=>[2,1,3,4]=>1011001000=>0001001101
[4,3,3]=>[3,3,4]=>1001001000=>0001001001
[4,4,2]=>[2,4,4]=>1010001000=>0001000101
[4,5,1]=>[1,5,4]=>1100001000=>0001000011
[4,6]=>[6,4]=>1000001000=>0001000001
[5,1,1,1,1,1]=>[1,1,1,1,1,5]=>1111110000=>0000111111
[5,1,1,1,2]=>[2,1,1,1,5]=>1011110000=>0000111101
[5,1,1,2,1]=>[1,2,1,1,5]=>1101110000=>0000111011
[5,1,1,3]=>[3,1,1,5]=>1001110000=>0000111001
[5,1,2,1,1]=>[1,1,2,1,5]=>1110110000=>0000110111
[5,1,2,2]=>[2,2,1,5]=>1010110000=>0000110101
[5,1,4]=>[4,1,5]=>1000110000=>0000110001
[5,2,1,1,1]=>[1,1,1,2,5]=>1111010000=>0000101111
[5,2,1,2]=>[2,1,2,5]=>1011010000=>0000101101
[5,2,2,1]=>[1,2,2,5]=>1101010000=>0000101011
[5,2,3]=>[3,2,5]=>1001010000=>0000101001
[5,3,2]=>[2,3,5]=>1010010000=>0000100101
[5,4,1]=>[1,4,5]=>1100010000=>0000100011
[5,5]=>[5,5]=>1000010000=>0000100001
[6,1,1,1,1]=>[1,1,1,1,6]=>1111100000=>0000011111
[6,1,1,2]=>[2,1,1,6]=>1011100000=>0000011101
[6,1,2,1]=>[1,2,1,6]=>1101100000=>0000011011
[6,1,3]=>[3,1,6]=>1001100000=>0000011001
[6,2,1,1]=>[1,1,2,6]=>1110100000=>0000010111
[6,4]=>[4,6]=>1000100000=>0000010001
[7,1,2]=>[2,1,7]=>1011000000=>0000001101
[7,2,1]=>[1,2,7]=>1101000000=>0000001011
[8,1,1]=>[1,1,8]=>1110000000=>0000000111
[9,1]=>[1,9]=>1100000000=>0000000011
[10]=>[10]=>1000000000=>0000000001
[1,2,2,2,2,2,1]=>[1,2,2,2,2,2,1]=>110101010101=>101010101011
Map
reverse
Description
Return the reversal of a composition.
That is, the composition $(i_1, i_2, \ldots, i_k)$ is sent to $(i_k, i_{k-1}, \ldots, i_1)$.
That is, the composition $(i_1, i_2, \ldots, i_k)$ is sent to $(i_k, i_{k-1}, \ldots, i_1)$.
Map
to binary word
Description
Return the composition as a binary word, treating ones as separators.
Encoding a positive integer $i$ as the word $10\dots 0$ consisting of a one followed by $i-1$ zeros, the binary word of a composition $(i_1,\dots,i_k)$ is the concatenation of of words for $i_1,\dots,i_k$.
The image of this map contains precisely the words which do not begin with a $0$.
Encoding a positive integer $i$ as the word $10\dots 0$ consisting of a one followed by $i-1$ zeros, the binary word of a composition $(i_1,\dots,i_k)$ is the concatenation of of words for $i_1,\dots,i_k$.
The image of this map contains precisely the words which do not begin with a $0$.
Map
reverse
Description
Return the reversal of a binary word.
searching the database
Sorry, this map was not found in the database.