Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
TuringMachine
Guides
TuringMachine
Tech Notes
Exploring One-Sided Turing Machines
Symbols
MultiwayNonHaltedStatesLeft
MultiwayTuringMachineFunction
MultiwayTuringMachinePlot
MultiwayTuringMachineRules
NonTerminatingTuringMachineQ
OneSidedTuringMachineEvolution
OneSidedTuringMachineFind
OneSidedTuringMachineFunction
OneSidedTuringMachineFunctionPlot
OneSidedTuringMachinePlot
OneSidedTuringMachineRuntimePlot
TuringMachineOutput
TuringMachineOutputWithStepsFloat
TuringMachineOutputWithSteps
TuringMachineOutputWithStepsWidthsFloat
TuringMachineOutputWithStepsWidths
TuringMachineRuleCases
TuringMachineRuleCount
TuringMachineSteps
TuringMachineStepsWidths
TuringMachineWidths
TuringMachineWorstCasePlot
$PvsNPStyles
Overviews
TuringMachine
WolframInstitute`TuringMachine`
O
n
e
S
i
d
e
d
T
u
r
i
n
g
M
a
c
h
i
n
e
F
u
n
c
t
i
o
n
O
n
e
S
i
d
e
d
T
u
r
i
n
g
M
a
c
h
i
n
e
F
u
n
c
t
i
o
n
[
r
u
l
e
,
i
n
p
u
t
,
n
]
r
u
n
s
t
h
e
d
e
t
e
r
m
i
n
i
s
t
i
c
o
n
e
-
s
i
d
e
d
T
u
r
i
n
g
m
a
c
h
i
n
e
r
u
l
e
o
n
i
n
p
u
t
f
o
r
a
t
m
o
s
t
n
s
t
e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,
1
5
}
,
{
1
,
3
,
3
,
5
,
5
,
7
,
7
,
9
}
}
S
e
e
A
l
s
o
O
n
e
S
i
d
e
d
T
u
r
i
n
g
M
a
c
h
i
n
e
P
l
o
t
▪
O
n
e
S
i
d
e
d
T
u
r
i
n
g
M
a
c
h
i
n
e
F
i
n
d
▪
T
u
r
i
n
g
M
a
c
h
i
n
e
R
u
l
e
C
o
u
n
t
▪
T
u
r
i
n
g
M
a
c
h
i
n
e
O
u
t
p
u
t
R
e
l
a
t
e
d
G
u
i
d
e
s
▪
T
u
r
i
n
g
M
a
c
h
i
n
e
Run the
s
=3,
k
=2 rule 600720 on input 1 for at most 32 steps: Return the number of steps it took to halt: Return the maximum tape width the head spanned: Return the steps, value, and width together:
I
n
[
1
]
:
=
O
n
e
S
i
d
e
d
T
u
r
i
n
g
M
a
c
h
i
n
e
F
u
n
c
t
i
o
n
[
{
6
0
0
7
2
0
,
3
,
2
}
,
1
,
3
2
]
O
u
t
[
1
]
=
7
I
n
[
2
]
:
=
O
n
e
S
i
d
e
d
T
u
r
i
n
g
M
a
c
h
i
n
e
F
u
n
c
t
i
o
n
[
{
6
0
0
7
2
0
,
3
,
2
}
,
1
,
3
2
,
"
S
t
e
p
s
"
]
O
u
t
[
2
]
=
5
I
n
[
3
]
:
=
O
n
e
S
i
d
e
d
T
u
r
i
n
g
M
a
c
h
i
n
e
F
u
n
c
t
i
o
n
[
{
6
0
0
7
2
0
,
3
,
2
}
,
1
,
3
2
,
"
W
i
d
t
h
"
]
O
u
t
[
3
]
=
3
I
n
[
4
]
:
=
O
n
e
S
i
d
e
d
T
u
r
i
n
g
M
a
c
h
i
n
e
F
u
n
c
t
i
o
n
[
{
6
0
0
7
2
0
,
3
,
2
}
,
1
,
3
2
,
A
l
l
]
O
u
t
[
4
]
=
{
5
,
7
,
3
}
"
"