Just learned about DPDA's on my Theory of computation class. Professor gave us a semester task to create a deterministic pushdown automaton state diagram that is able to accept all strings multiples of 3; (Binary notation multiples of 3 of the string of 1's and 0's given) on JFLAP software.
I tried to do it but im confused as if it is even possible, . I created this CFG but im not sure is the appropiate way to solve this issue.
S -> 0A | 1B A -> 0S | 1C B -> 0C | 1S C -> 0B | 1A
Any help is appreciated, thanks in regards.
