Let
- $L$ be a language over $\Sigma$. And $\Sigma = \{0,1\}$ is a set of input alphabets.
- $L = \{ w \mid w \in \Sigma^*, \text{ where $w$ is a string with numbers of 0s divisible by 3 and number of 1s divisible by 5}\}$.
What will be the minimum numbers of states in the DFA accepting $L$?
My approach is to create a grid like this:
I am getting 5 x 3 = 15 states.
How can I apply Myhill Nerode theorem to solve this kind of problems? I don't understand this theorem at all.