by@hakatashi
WA
WITH RECURSIVE m(x,l,r,p) AS ( SELECT 1, '' AS l, substr(v,10) AS r, substr(v,1,8) AS p FROM i UNION ALL SELECT x + 1, CASE WHEN p='00000000' or p='00000001' or p='00000011' or p='00000110' or p='00001010' or p='00001111' or p='00010101' or p='00011100' or p='00100100' or p='00101101' or p='00110111' or p='01000010' or p='01001110' or p='01011011' or p='01101001' or p='01111000' or p='10001000' or p='10011001' or p='10101011' or p='10111110' or p='11010010' or p='11100111' or p='11111101' THEN 1 ELSE 0 END AS l, substr(r, 10) AS r, substr(r,1,8) AS p FROM m WHERE r != '' ) SELECT l FROM m WHERE l != ''
11001010 00101001 01000010 01001010 11010010 00110111 10101011 01001100 10001000 00001111 11111101 10001110 00100100 01010111 00001010 01101001 11100111 11101101 10000001 10101001 11111000 10101011 00101101 01001001 00000011 01110100 11011111 00001001 00101110 00010101 10111110 00011000 01111000 10011001 11001100 01011011 00000001 01001110 01011100 10110000 00000010 10010100 01110001 10011101 11011010 00101101 10010001 00011100 00000110 00000000
0 0 1 0 1 1 1 0 1 1 1 0 1 0 1 1 1 0 0 0 0 1 1 0 1 0 0 0 0 1 1 0 1 1 0 1 1 1 0 0 0 0 0 0 0 1 0 1 1