Garrett McClure
asked
Sep 7, 2017
1,434
views
Find a DFA for the following language on Σ = {0, 1}L = {w : the value of w, interpreted as a binary representation of an integer is zero modulo five}. For example, 0101 and 1111, ... 5) mod 5, (2n + 1) mod 5 = [(2n mod 5) + 1] mod 5.