Hey guys, just a little query, for those of you who know what a Turing Machine is (TM for short), is there a TM that'd turn unary numbers (111111) into decimal (111111=6) using as few states as possible?

Cheers!