The number 1, 2, 4, 8,.....
2n .... are represented by 1, 10, 100, 1000......
The pattern in the regular expression is 1 followed by 0's
The regular expression for above is
10∗
The DFA for above language is
So the numbers 1, 2, 4, 8,......
2n..... written in binary can be recognized by a deterministic finite state automaton.