838 views
3 votes
3 votes
REC, RE or NOT RE ?

L = {<M> | M is a TM and |<M>| >= 5}

1 Answer

2 votes
2 votes
It's REC. more strict answer is more better.

REC  $\rightarrow$  There is a TM $M2$ which can decide this Language as follows :

M2 takes each string in this Language one by one and checks if the length of <M> is more than 5 if yes it halts and accepts and if not then it halts and rejects, Therefore we have a Halting Turing Machine M2 which can decide this language.

-- <M> is the binary encoding of the TM and |<M>| represents the length of M's encoding.

Related questions

0 votes
0 votes
0 answers
1
RahulVerma3 asked Apr 2
46 views
Is this the correct Turing machine for the language $0^n 1^n0^n$?assuming $ at the end and begining of the input tape
3 votes
3 votes
2 answers
3
3 votes
3 votes
1 answer
4