Now the other idea. Do not build five adders. Build one and walk it along the number.Each step it reads one bit from a tape, computes XOR and AND, writes the result, and moves o...
Look again at the rule table of our Turing machine — the one from the Alan session — and write the state as a bit: CARRY = 1, HALT = 0.state creads bwritesnext state...