The first terms, alongside the binary representations of n and of the numbers k whose binary digits appear in order in the binary representation of k, are:
n a(n) bin(n) bin(k)
-- ---- ------ ------
1 1 1 1
2 2 10 1, 10
3 2 11 1, 11
4 3 100 1, 10, 100
5 4 101 1, 10, 11, 101
6 4 110 1, 10, 11, 110
7 3 111 1, 11, 111
8 4 1000 1, 10, 100, 1000
9 6 1001 1, 10, 11, 100, 101, 1001
10 7 1010 1, 10, 11, 100, 101, 110, 1010
11 6 1011 1, 10, 11, 101, 111, 1011
12 6 1100 1, 10, 11, 100, 110, 1100
13 7 1101 1, 10, 11, 101, 110, 111, 1101
14 6 1110 1, 10, 11, 110, 111, 1110
15 4 1111 1, 11, 111, 1111
16 5 10000 1, 10, 100, 1000, 10000
17 8 10001 1, 10, 11, 100, 101, 1000, 1001, 10001
18 10 10010 1, 10, 11, 100, 101, 110, 1000, 1001, 1010, 10010
19 9 10011 1, 10, 11, 100, 101, 111, 1001, 1011, 10011
20 10 10100 1, 10, 11, 100, 101, 110, 1000, 1010, 1100, 10100