0

Define a function ∈{0,1}→ℤ so: for everything w ∈{0,1}, diff w = # of 1's in w- # of 0's in w.

Thus: =0; 0=−1; 0=−1;

Let = {∈ {0,1} * | = 3 for some ∈ ℤ}.

the teacher only explained to me in class the functioning of the DFA multiple of 3 https://cdncontribute.geeksforgeeks.org/wp-content/uploads/dfadivision-1.jpg, with this dfa I must build the day that from the subtraction of the ones and zeros in w accept multiples of 3.

I did not have the next class, the teacher sent a pdf with a complicated explanation about Proving Correctness of DFA

How define a deterministic finite automaton M such that L (M) = L?

How proving correctness of DFA if diff w is a subtraction?

0 Answers0