Construct a PDA for the language {w | w∈{0,1,#}∗,w=b(n)R#b(n+1),n≥1, b(x) converts x to binary with no leading 0}
b(n)R means the binary string reversed.
I tried making a CFG that can describe this language and then converting to PDA, but I don't really know how to start. I was thinking there is some relationship between the number of 0 and 1s that correspond to the b(n+1) binary number?
Some Examples:
For n=1, the recognized string is "1#10"
For n=2, the recognized string is "01#11"
For n=3, the recognized string is "11#100"
For n=4, the recognized string is "001#101"