The initial rows of the square array are:
11111111111111111111111111111111...
10101010101010101010101010101010...
11001100110011001100110011001100...
10001000100010001000100010001000...
11110000111100001111000011110000...
10100000101000001010000010100000...
11000000110000001100000011000000...
10000000100000001000000010000000...
11111111000000001111111100000000...
10101010000000001010101000000000...
11001100000000001100110000000000...
10001000000000001000100000000000...
11110000000000001111000000000000...
10100000000000001010000000000000...
11000000000000001100000000000000...
10000000000000001000000000000000...
11111111111111110000000000000000...
10101010101010100000000000000000...
...
Row 5 is
10100000101000001010000010100000...
which is periodic with period-length 8 and period 10100000, so a(5) = 10100000.
|