Having trouble with this homework problem. In order to show that A is Turing recognizable and decidable.
$\text{EVEN} = \text{binary strings with even length}$
$Let\;A = \{(M) | \,M\; \text{is a DFA such that L(M) is not the same as EVEN}$
- $\text{Show that A is Turing-recognizable}$
- $\text{Show that A is decidable}$
So, at first glance it seems we need to just find a word that M accepts that is an odd length binary string. I'm a bit lost at where to start though.
I believe I'd start by using the TM from Theorem 4.1 of Sipser's Introduction to Theory of Computation which states if a DFA is a decidable language we can use Turing machine T to test if it's decidable:
$\text{T = "On input (B,w) where B is a DFA and w is a string:}$
$\text{Simulate B on input w}$
$\text{If the simulation ends in an accept state - accept, otherwise reject"}$