OFFSET
0,2
COMMENTS
If n is odd then a(n) is even.
LINKS
EXAMPLE
a(5) = 8: 00000, 00001, 00011, 00101, 00111, 01011, 01111, 11111.
a(6) = 10: 000000, 000001, 000011, 000101, 000111, 001011, 001111, 010111, 011111, 111111. Min-heaps on 6 elements from the set {0,1} that do not give a max-heap when reversed are: 000010, 000100, 000110, 001001, 001101, 010110.
a(7) = 14: 0000000, 0000001, 0000011, 0000101, 0000111, 0001011, 0001111, 0010011, 0010111, 0011011, 0011111, 0101111, 0111111, 1111111.
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Feb 18 2025
STATUS
approved
