a(n) is a binary vector for selecting distinct terms from A000124 that when summed give n; it uses the greedy algorithm.

A204009

a(n) is a binary vector for selecting distinct terms from A000124 that when summed give n; it uses the greedy algorithm.

Terms

    a(0) =0a(1) =1a(2) =10a(3) =11a(4) =100a(5) =101a(6) =110a(7) =1000a(8) =1001a(9) =1010a(10) =1011a(11) =10000a(12) =10001a(13) =10010a(14) =10011a(15) =10100a(16) =100000a(17) =100001a(18) =100010a(19) =100011a(20) =100100a(21) =100101a(22) =1000000a(23) =1000001a(24) =1000010a(25) =1000011a(26) =1000100a(27) =1000101a(28) =1000110a(29) =10000000

External references