|
EXAMPLE
|
n = 1: a(1) = 2 = 10 in base 2, which contains 2 distinct strings of one digit: 1, 0.
n = 2: a(2) = 19 = 10011, which contains 4 distinct strings of two digits: 10, 00, 01, 11.
n = 3: a(3) = 558 = 1000101110, which contains 8 distinct strings of three digits: 100, 000, 001, 010, 101, 011, 111, 110.
n = 4: a(4) = 272060 = 1000010011010111100, which contains 16 distinct strings of four digits: 1000, 0000, 0001, 0010, 0100, 1001, 0011, 0110, 1101, 1010, 0101, 1011, 0111, 1111, 1110, 1100.
|