2026-08-28·作者 Sijie Wang#node#math

examples

Turing machines — worked examples

Parent: turing-machines

Concrete machines you can trace by hand. Each child gives its machine as the full 7-tuple (Q, Γ, b, Σ, δ, q₀, F), then traces the tape step by step, naming which component acts.

Examples

  • binary-successor — n ↦ n+1, traced bit by bit against the 7-tuple (the clearest first trace).
  • anbn-recognizer — recognize { 0ⁿ1ⁿ } by crossing off pairs; uses the tape as unbounded memory (a finite automaton can't).
  • universal-machine — U(⟨M⟩, x): the transition table lives on the tape — data = program.
關於這一條

sijie 的一條 wiki 條目。本站的 AI 以同一套語料庫為依據、以 sijie 的口吻作答,並附有指向此類條目的引用——回答會花 sijie 的錢,所以它在存取碼後等待: 輸入存取碼 →