Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • 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
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

TuringMachine

Guides

  • TuringMachine

Tech Notes

  • Exploring One-Sided Turing Machines

Symbols

  • MultiwayNonHaltedStatesLeft
  • MultiwayTuringMachineFunction
  • MultiwayTuringMachineRules
  • NonTerminatingTuringMachineQ
  • OneSidedTuringMachineFind
  • OneSidedTuringMachineFunction
  • OneSidedTuringMachinePlot
  • TuringMachineOutput
  • TuringMachineOutputWithStepsFloat
  • TuringMachineOutputWithSteps
  • TuringMachineOutputWithStepsWidthsFloat
  • TuringMachineOutputWithStepsWidths
  • TuringMachineRuleCases
  • TuringMachineRuleCount
  • TuringMachineSteps
  • TuringMachineStepsWidths
  • TuringMachineWidths

Overviews

  • TuringMachine
WolframInstitute`TuringMachine`
OneSidedTuringMachineFunction
​
OneSidedTuringMachineFunction
[rule,input,n]
runs the deterministic one-sided Turing machine rule on input for at most n steps and returns the integer value left on the tape.
​
​
OneSidedTuringMachineFunction
[rule,input,n,prop]
returns the property prop:
"Value"
,
"Steps"
,
"Width"
, or
All
.
​
​
OneSidedTuringMachineFunction
[{
All
,s,k},{min,max},n]
evaluates every rule of the s-state, k-color family over inputs min through max.
​
Details and Options
Examples  
(1)
Scope  
(1)
Evaluate a whole family at once — every s=1, k=2 machine on inputs 1 through 8:
In[1]:=
OneSidedTuringMachineFunction
[{All,1,2},{1,8},32]
Out[1]=
{{Undefined,Undefined,Undefined,Undefined,Undefined,Undefined,Undefined,Undefined},{0,2,0,4,4,6,0,8},{Undefined,Undefined,Undefined,Undefined,Undefined,Undefined,Undefined,Undefined},{3,3,7,5,7,7,15,9},{0,Undefined,2,Undefined,4,Undefined,6,Undefined},{0,2,2,4,4,6,6,8},{0,0,2,0,4,4,6,0},{0,3,2,5,4,7,6,9},{Undefined,Undefined,Undefined,Undefined,Undefined,Undefined,Undefined,Undefined},{Undefined,2,Undefined,4,Undefined,6,Undefined,8},{Undefined,Undefined,Undefined,Undefined,Undefined,Undefined,Undefined,Undefined},{Undefined,3,Undefined,5,Undefined,7,Undefined,9},{1,Undefined,3,Undefined,5,Undefined,7,Undefined},{1,2,3,4,5,6,7,8},{1,3,3,7,5,7,7,15},{1,3,3,5,5,7,7,9}}
SeeAlso
OneSidedTuringMachinePlot
 
▪
OneSidedTuringMachineFind
 
▪
TuringMachineRuleCount
 
▪
TuringMachineOutput
RelatedGuides
▪
TuringMachine
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:
In[1]:=
OneSidedTuringMachineFunction
[{600720,3,2},1,32]
Out[1]=
7
In[2]:=
OneSidedTuringMachineFunction
[{600720,3,2},1,32,"Steps"]
Out[2]=
5
In[3]:=
OneSidedTuringMachineFunction
[{600720,3,2},1,32,"Width"]
Out[3]=
3
In[4]:=
OneSidedTuringMachineFunction
[{600720,3,2},1,32,All]
Out[4]=
{5,7,3}
""

© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com