Sequences: Difference between revisions

From BusyBeaverWiki
Jump to navigation Jump to search
Δ⁵ (talk | contribs)
Link 76 jOEIS implementations and shared verification notes
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:


If the "canonical" values of a sequence are maintained on another Wiki page, please link to that, instead of replicating them here.
If the "canonical" values of a sequence are maintained on another Wiki page, please link to that, instead of replicating them here.
<small class="plainlinks">jOEIS links provide Java implementations; see the [https://github.com/archmageirvine/joeis/blob/master/internal/irvine/math/turing/README.md verification notes] for supporting checks.</small>


=== Computable Sequences ===
=== Computable Sequences ===
Line 12: Line 14:
![[oeis:|OEIS]] sequence
![[oeis:|OEIS]] sequence
|-
|-
|2-symbol TM count
|2-symbol TM count (halting move included)
|Number of n-state, 2-symbol, d+ in {LEFT, RIGHT}, 5-tuple (q, s, q+, s+, d+) (halting or not) Turing machines.
|Number of n-state, two-symbol transition tables, with left/right movement specified even on halting transitions.
|<math>(4n+4)^{2n}</math>
|[[oeis:A052200|A052200]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a052/A052200.java jOEIS])</small>
|-
|2-symbol TM count (no move on halt)
|Number of n-state, two-symbol transition tables whose halting transitions do not move the head.
|<math>(4n+2)^{2n}</math>
|[[oeis:A141475|A141475]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a141/A141475.java jOEIS])</small>
|-
| Bátfai's Turing-machine count
| Number of n-state machines under Bátfai's convention.
| <math>(6n+1)^{2n}-1</math>
| [[oeis:A164278|A164278]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a164/A164278.java jOEIS])</small>
|-
|Canonical two-symbol state graphs
|Next-state graphs reaching all n states in canonical order, before choosing writes and movements.
|
|[[oeis:A107668|A107668]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a107/A107668.java jOEIS])</small>
|-
| Scaled canonical state-graph sequence
| [[oeis:A107668|A107668]](n)/(n+1)<sup>2</sup>.
|
|
|[[oeis:A052200|A052200]]
| [[oeis:A107669|A107669]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a107/A107669.java jOEIS])</small>
|-
|-
|Number of n-state 2-symbol halt-free TMs
|Number of n-state 2-symbol halt-free TMs
|A Turing machine is halt-free if none of its instructions lead to the halt state.
|A Turing machine is halt-free if none of its instructions lead to the halt state.
|
|
|[[oeis:A337025|A337025]]
|[[oeis:A337025|A337025]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a337/A337025.java jOEIS])</small>
|-
|Closed binary lambda terms
|Closed lambda terms of encoded size n, including terms without a normal form.
|
|[[oeis:A114852|A114852]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a114/A114852.java jOEIS])</small>
|-
|-
|Number of closed BBλ terms with n bits || A BBλ term is closed if it is syntactically valid and contains no free variables || ||
|Closed binary lambda normal forms
|Closed lambda terms already in beta normal form, using the same size convention.
|
|[[oeis:A195691|A195691]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a195/A195691.java jOEIS])</small>
|-
|-
|[[Lazy Beaver]]
|[[Lazy Beaver]]
|The smallest positive number of steps a(n) such that no n-state, m-symbol Turing machine halts in exactly a(n) steps on an initially blank tape.
|The smallest positive number of steps a(n) such that no n-state, m-symbol Turing machine halts in exactly a(n) steps on an initially blank tape.
|see [[Lazy Beaver#Computed Values]]
|see [[Lazy Beaver#Computed Values]]
|[[oeis:A337805|A337805 (for m=2)]]
|[[oeis:A337805|A337805 (for m=2)]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a337/A337805.java jOEIS])</small>
|-
|Minimum states for n steps
|Minimum states of a two-symbol Turing machine halting after exactly n steps from a blank tape.
|
|[[oeis:A125269|A125269]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a125/A125269.java jOEIS])</small>
|-
|-
|Configs A(a, b) reached in [[Antihydra]]
|Configs A(a, b) reached in [[Antihydra]]
|
|
|see [[Antihydra#Trajectory]]
|[[oeis:A386792|A386792]] (for a) <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a386/A386792.java jOEIS])</small>, [[oeis:A385902|A385902]] (for b) <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a385/A385902.java jOEIS])</small>
|-
|Antihydra first-halting minima
|Smallest initial x meeting the Antihydra halting condition for the first time at term <math>3n+1</math>.
|see [[Antihydra]]
|[[oeis:A385150|A385150]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a385/A385150.java jOEIS])</small>
|-
| [[Wang Tiles|Minimum Wang tile types stopping at n]]
| Least number of tile types that tile an n × n square but not an (n+1) × (n+1) square; no rotations or reflections.
|
| [[oeis:A402127|A402127]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a402/A402127.java jOEIS])</small>
|-
| Hydra/Antihydra step
| The update <math>x\mapsto\lfloor 3x/2\rfloor</math>.
|
| [[oeis:A032766|A032766]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a032/A032766.java jOEIS])</small>
|-
| Hydra-map orbit from 2
| Iterates of <math>x\mapsto\lfloor 3x/2\rfloor</math>, starting at 2.
|
| [[oeis:A061418|A061418]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a061/A061418.java jOEIS])</small>
|-
| Antihydra first-halting parity patterns
| Number of parity patterns first triggering Antihydra halting at term <math>3n+1</math>.
|
| [[oeis:A001764|A001764]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a001/A001764.java jOEIS])</small>
|-
| Binary lambda terms, allowing free variables
| Number of terms of encoded size n, using the binary size convention.
|
| [[oeis:A114851|A114851]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a114/A114851.java jOEIS])</small>
|-
| Closed lambda normal forms with zero-size variables
| Number of closed normal forms of size n in the alternative convention assigning size 0 to variables.
|
| [[oeis:A224345|A224345]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a224/A224345.java jOEIS])</small>
|-
| PCP word-pair encodings
| Index of the concatenated binary string in the stated enumeration of binary PCP word-pair lists.
|
| [[oeis:A309250|A309250]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a309/A309250.java jOEIS])</small>
|-
| Finite-board Snake Number Problem
| Maximum cyclically numbered path length on an n × n board, without repeated labels in a row or column.
|
| [[oeis:A353259|A353259 (orthogonal moves)]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a353/A353259.java jOEIS])</small>; [[oeis:A353060|A353060 (knight moves)]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a353/A353060.java jOEIS])</small>
|-
| Circular-tape runtime maximum
| Maximum halting runtime on an n-cell circular tape, over all two-state/two-symbol machines and initial configurations.
|
| [[oeis:A394183|A394183]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a394/A394183.java jOEIS])</small>
|-
| Wolfram 2,3 trace count
| Number of length-n (state, scanned symbol) traces over arbitrary tapes and starting states of the specified machine.
|
| [[oeis:A401762|A401762]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a401/A401762.java jOEIS])</small>
|-
| Collatz map
| <math>n/2</math> for even n; <math>3n+1</math> for odd n.
|
| [[oeis:A006370|A006370]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a006/A006370.java jOEIS])</small>
|-
| Drozd-map increments
| [[oeis:A353327|A353327]](n) = [[oeis:A353314|A353314]](n)-n = [[oeis:A102899|A102899]](n+3).
|
|
|[[oeis:A386792|A386792]] (for a), [[oeis:A385902|A385902]] (for b)
| [[oeis:A353327|A353327]] (increments) <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a353/A353327.java jOEIS])</small>; [[oeis:A102899|A102899]] (shifted) <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a102/A102899.java jOEIS])</small>
|}
|}


Line 52: Line 152:
|The maximal number of steps that an n-state, m-symbol Turing machine can make on an initially blank tape before eventually halting.
|The maximal number of steps that an n-state, m-symbol Turing machine can make on an initially blank tape before eventually halting.
|[[Main Page|see the Main Page]]
|[[Main Page|see the Main Page]]
|[[oeis:A060843|A060843]]
|[[oeis:A060843|A060843]] (m=2) <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a060/A060843.java jOEIS])</small>; [[oeis:A398770|A398770]] (n=2) <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a398/A398770.java jOEIS])</small>; [[oeis:A400605|A400605]] (array by antidiagonals) <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a400/A400605.java jOEIS])</small>
|-
|-
|[[Busy Beaver Functions#Max Score Function Σ(n, m)|Max Score Function]]
|[[Busy Beaver Functions#Max Score Function Σ(n, m)|Max Score Function]]
|Σ(n, m)
|Σ(n, m)
|Maximal number of 1's that an n-state, m-symbol Turing machine can print on an initially blank tape before halting.
|Maximum number of nonblank symbols left by a halting n-state, m-symbol machine, starting from a blank tape.
|
|
|[[oeis:A028444|A028444]]
|[[oeis:A028444|A028444]] (m=2) <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a028/A028444.java jOEIS])</small>; [[oeis:A399567|A399567]] (n=2) <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a399/A399567.java jOEIS])</small>
|-
|-
|[[Maximum Space Function]]
|[[Maximum Space Function]]
Line 70: Line 170:
|The minimal number of states of 2-symbol Turing machines that print exactly n ones when halt.
|The minimal number of states of 2-symbol Turing machines that print exactly n ones when halt.
|see [[Placid Platypus#Values]]
|see [[Placid Platypus#Values]]
|[[oeis:A399346|A399346]]
|[[oeis:A399346|A399346]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a399/A399346.java jOEIS])</small>
| -
|-
|-
|Halting-machine count
|
|Number of n-state, two-symbol Turing machines that halt from a blank tape.
|
|
|[[oeis:A004147|A004147]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a004/A004147.java jOEIS])</small>
|-
| Sum of halting runtimes
|
|
|Number of n-state m-symbol Turing machines which halt.
| Sum of runtimes of all halting n-state, two-symbol Turing machines on a blank tape.
|
|
|[[oeis:A004147|A004147]]
| [[oeis:A386859|A386859]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a386/A386859.java jOEIS])</small>
|-
|-
|[[Blanking Busy Beaver]]
|[[Blanking Busy Beaver]]
Line 88: Line 193:
|
|
|The maximum number of steps that an n-state 2-symbol Turing machine can make on an initially blank tape until it halts on a blank tape
|The maximum number of steps that an n-state 2-symbol Turing machine can make on an initially blank tape until it halts on a blank tape
|(see comments #75 and #77 [https://scottaaronson.blog/?p=5661 here])
|see [[Blanking Beaver#Busy Cleaner (BB_clean(n,m))|Busy Cleaner]]
|[[oeis:A119683|A119683]]
|[[oeis:A119683|A119683]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a119/A119683.java jOEIS])</small>
|-
|-
|BB_ones
|BB_ones
Line 107: Line 212:
|The number of distinct runtimes for the set of n-state machines
|The number of distinct runtimes for the set of n-state machines
|see "The Spectrum of Runtimes" in "[https://www.scottaaronson.com/papers/bb.pdf The Busy Beaver Frontier]"
|see "The Spectrum of Runtimes" in "[https://www.scottaaronson.com/papers/bb.pdf The Busy Beaver Frontier]"
|
|-
|
|
|The number of non-halting programs with n states which reach infinitely many tape cells
|
|
|-
|-
Line 118: Line 218:
|Maximum number of steps that an n-instruction Turing machine (allowing any number of states and symbols) can take on an initially blank tape before eventually halting.
|Maximum number of steps that an n-instruction Turing machine (allowing any number of states and symbols) can take on an initially blank tape before eventually halting.
|see [[Instruction-Limited Busy Beaver#Champions]]
|see [[Instruction-Limited Busy Beaver#Champions]]
|[[oeis:A384629|A384629]]
|[[oeis:A384629|A384629]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a384/A384629.java jOEIS])</small>
|-
|-
|[[Instruction-Limited Busy Beaver|Instruction-Limited Symbol Busy Beaver]]
|[[Instruction-Limited Busy Beaver|Instruction-Limited Symbol Busy Beaver]]
Line 124: Line 224:
|Maximum number of non-blank symbols that an n-instruction Turing machine (allowing any number of states and symbols) can leave on an initially blank tape before eventually halting.
|Maximum number of non-blank symbols that an n-instruction Turing machine (allowing any number of states and symbols) can leave on an initially blank tape before eventually halting.
|see [[Instruction-Limited Busy Beaver#Champions]]
|see [[Instruction-Limited Busy Beaver#Champions]]
|[[oeis:A384766|A384766]]
|[[oeis:A384766|A384766]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a384/A384766.java jOEIS])</small>
|-
|-
|[[Instruction-Limited Busy Beaver#Instruction-Limited Busy Beaver Variants|Instruction-Limited Greedy Busy Beaver]]
|[[Instruction-Limited Busy Beaver#Instruction-Limited Busy Beaver Variants|Instruction-Limited Greedy Busy Beaver]]
Line 138: Line 238:
| -
| -
|-
|-
|[[Busy Beaver for lambda calculus]]
|[[Lambda Calculus|Busy Beaver for lambda calculus]]
|BBλ(n)
|BBλ(n)
|Maximum beta normal form size of any closed lambda term of size n.
|Maximum beta-normal-form size of a closed lambda term of encoded size n; 0 if none exists.
|see [[Busy Beaver for lambda calculus#Champions]]
|see [[Lambda Calculus#Champions]]
|[[oeis:A333479|A333479]]
|[[oeis:A333479|A333479]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a333/A333479.java jOEIS])</small>
|-
|[[Lambda Calculus#Optimal Busy Beaver|Busy Beaver for Binary Lambda Calculus]]
|BBλ2(n)
|Maximum output size of an n-bit self-delimiting BLC program; 0 if none exists.
|see [[Lambda Calculus#Optimal Busy Beaver]]
|[[oeis:A361211|A361211]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a361/A361211.java jOEIS])</small>
|-
|Normalizing closed binary lambda terms
|
|Number of closed lambda terms of encoded size n that have a beta normal form.
|
|[[oeis:A333958|A333958]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a333/A333958.java jOEIS])</small>
|-
|-
|Number of BBλ2 terms that reads all input || A BBλ2 term reads all input iff it has a normal form, but removing the last bit makes it no longer have one || || ||
|Number of BBλ2 terms that reads all input
|A BBλ2 term reads all input iff it has a normal form, but removing the last bit makes it no longer have one
|
|
|
|-
|-
|[[Fractran]]
|[[Fractran]]
Line 150: Line 266:
|The maximal number of steps that a Fractran program of size n can make on the integer 2 before eventually halting.
|The maximal number of steps that a Fractran program of size n can make on the integer 2 before eventually halting.
|see [[Fractran#Champions]]
|see [[Fractran#Champions]]
|[[oeis:A395424|A395424]]
|[[oeis:A395424|A395424]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a395/A395424.java jOEIS])</small>
|-
|Post correspondence Busy Beaver
|
|Maximum shortest-solution length for solvable binary PCP instances with at most n dominoes of nonempty words and maximum word length n.
|
|[[oeis:A399884|A399884]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a399/A399884.java jOEIS])</small>
|-
|-
|[[Register machine#Register Busy Beaver|Register Busy Beaver]]
|[[Register machine#Register Busy Beaver|Register Busy Beaver]]
|MBB(n)
|MBB(n)
|The maximum number of instructions executed by a register machine with n states and n registers when started in state A and all registered initialized to 0.
|Maximum runtime from zeroed registers, with n non-halting instructions; Halt is not counted in n.
|see [[Register machine#Register Busy Beaver|Register Busy Beaver]]
|see [[Register machine#Register Busy Beaver|Register Busy Beaver]]
|-
|[[oeis:A401603|A401603]](n+1) <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a401/A401603.java jOEIS])</small>
|-
|-
|[[Register machine#Register Busy Beaver|Register Sigma]]
|[[Register machine#Register Busy Beaver|Register Sigma]]
|MΣ(n)
|MΣ(n)
|Largest value held in any register at the end of a halting computation by an n-instruction register [[Register machine|Minsky machine]].
|Maximum register value at halting, with n non-halting instructions and initially zero registers.
|see [[Register machine#Register Busy Beaver|Register Busy Beaver]]
|see [[Register machine#Register Busy Beaver|Register Busy Beaver]]
|[[oeis:A081419|A081419]]
|[[oeis:A081419|A081419]](n+1) <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a081/A081419.java jOEIS])</small>
|-
|-
| Halting compressed register-program count
|
| Number of properly halting programs of total length 7n bits in the specified register-machine encoding; runtime errors excluded.
|
| [[oeis:A400878|A400878]]
|}
|}


Line 176: Line 303:
|[[Beeping Busy Beaver]]
|[[Beeping Busy Beaver]]
|BBB(n)
|BBB(n)
|The latest possible step that any 2-symbol TM with n states exits a chosen state finitely many times
|Latest final beep of a quasihalting n-state, two-symbol machine under the stated observer convention.
|see [[Beeping Busy Beaver#Results]]
|see [[Beeping Busy Beaver#Champions]]
|
|-
|-
|[[Busy Beaver for lambda calculus#Oracle Busy Beaver|Busy Beaver for lambda calculus with a BBλ oracle]]
|[[Lambda Calculus#Oracle Busy Beaver|Busy Beaver for lambda calculus with a BBλ oracle]]
|BBλ<sub>1</sub>
|BBλ<sub>1</sub>
|Maximum beta/oracle normal form size of any 1-closed lambda term of size n.
|Maximum beta/oracle normal-form size of a 1-closed lambda term of size n; 0 if none exists.
|see [[Busy Beaver for lambda calculus#Oracle Busy Beaver]]
|see [[Lambda Calculus#Oracle Busy Beaver]]
|[[oeis:A385712|A385712]]
|[[oeis:A385712|A385712]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a385/A385712.java jOEIS])</small>
|-
|Machines visiting infinitely many cells
|
|Number of n-state machines whose runs from a blank tape visit infinitely many cells.
|
|
|}
|}


Line 198: Line 332:
|
|
|see [[Beeping Busy Beaver#Beeping Booping Busy Beavers]]
|see [[Beeping Busy Beaver#Beeping Booping Busy Beavers]]
|
|}
|}


Line 218: Line 353:
|The number of programs that halt with Σ(n, m) 1's on the tape ([[Busy Beaver Functions#Max Score Function Σ(n, m)|Max Score]]) for each n of a given m (including all equivalent transformations)
|The number of programs that halt with Σ(n, m) 1's on the tape ([[Busy Beaver Functions#Max Score Function Σ(n, m)|Max Score]]) for each n of a given m (including all equivalent transformations)
|#Σ(1,2)=16, #Σ(2,2)=4, #Σ(3,2)=40
|#Σ(1,2)=16, #Σ(2,2)=4, #Σ(3,2)=40
|
|-
|-
|Maximum space
|Maximum space
Line 231: Line 367:
| -
| -
|-
|-
| Diagonal halting sequence
| a(n)
| <math>f_n(n)+1</math> when defined, otherwise 0, using Cutland's Gödel numbering.
|
| [[oeis:A118874|A118874]]
|}
=== Other related OEIS sequences ===
{| class="wikitable"
!Sequence Name
!Description
!Values
![[oeis:|OEIS]] sequence
|-
|Binary-input runtime variant
|Maximum halting runtime of two-state, two-symbol machines starting on binary n, with the head at its rightmost bit.
|
|[[oeis:A131956|A131956]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a131/A131956.java jOEIS])</small>
|-
|Binary-input score variant
|Maximum final number of ones under the same binary-input convention.
|
|[[oeis:A131957|A131957]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a131/A131957.java jOEIS])</small>
|-
|Halting-output distributions
|Flattened, frequency-ordered output strings of halting n-state, two-symbol machines, concatenated over n.
|
|[[oeis:A141474|A141474]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a141/A141474.java jOEIS])</small>
|-
|Reciprocal Busy Beaver constant
|Decimal digits of <math>\sum_{n\geq1}1/S(n,2)</math>.
|
|[[oeis:A362199|A362199]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a362/A362199.java jOEIS])</small>
|-
|Rayo's function (OEIS variant)
|Least natural number above all numbers uniquely defined by an exactly n-symbol set-theory formula.
|
|[[oeis:A368006|A368006]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a368/A368006.java jOEIS])</small>
|-
|Schult machine pattern lengths
|Finite pattern-length trace from Uwe Schult's former five-state Busy Beaver candidate.
|
|[[oeis:A016071|A016071]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a016/A016071.java jOEIS])</small>
|-
|BB(5) macro-iteration
|Finite orbit of the Marxen–Buntrock BB(5) champion under its two-branch recurrence.
|
|[[oeis:A386909|A386909]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a386/A386909.java jOEIS])</small>
|-
|Drozd map
|<math>f(3k)=k,\quad f(3k+1)=5k+4,\quad f(3k+2)=5k+5</math>.
|
|[[oeis:A353313|A353313]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a353/A353313.java jOEIS])</small>
|-
|Drozd map with fixed multiples of three
|<math>g(3k)=3k,\quad g(3k+1)=5k+4,\quad g(3k+2)=5k+5</math>.
|
|[[oeis:A353314|A353314]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a353/A353314.java jOEIS])</small>
|-
|First multiple of three reached
|First multiple of three reached by iterating [[oeis:A353314|A353314]] from n; -1 if none is reached.
|
|[[oeis:A349876|A349876]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a349/A349876.java jOEIS])</small>
|-
| Snake Number Problem
| Maximum visited-square count for finite square-grid snakes following n periodic moves, skipping moves to visited squares (n ≥ 5).
|
| [[oeis:A353176|A353176]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a353/A353176.java jOEIS])</small>
|-
| [[Antihydra|Even Antihydra halting starts]] (conjectural)
| Even initial values observed to halt; completeness of the increasing list is conjectural.
|
| [[oeis:A398746|A398746]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a398/A398746.java jOEIS])</small>
|-
| Finite-snake instruction-list count
| Number of n-periodic instruction lists producing a finite snake, identifying lists under square-grid rotations and reflections.
|
| [[oeis:A352388|A352388]]
|-
| Multiple-snake length maxima
| Maximum finite lengths for the variants with two, three or four snakes using n-periodic instructions.
|
| [[oeis:A353234|A353234 (two snakes)]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a353/A353234.java jOEIS])</small>; [[oeis:A354915|A354915 (three snakes)]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a354/A354915.java jOEIS])</small>; [[oeis:A354916|A354916 (four snakes)]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a354/A354916.java jOEIS])</small>
|-
| Drozd-map stopping time
| Iterations of [[oeis:A353314|A353314]] required to reach a multiple of 3; -1 if none is reached.
|
| [[oeis:A349877|A349877]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a349/A349877.java jOEIS])</small>
|-
| Drozd-map terminal records
| Record values of [[oeis:A349876|A349876]].
|
| [[oeis:A349896|A349896]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a349/A349896.java jOEIS])</small>
|-
| Drozd-map minimum visited value
| Least value reached after the starting term under [[oeis:A353313|A353313]]; -1 if no finite cycle is reached.
|
| [[oeis:A353305|A353305]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a353/A353305.java jOEIS])</small>
|-
| Drozd-map starts reaching 1
| Starting values whose [[oeis:A353313|A353313]] orbit reaches 1; the positions of ones in [[oeis:A353305|A353305]].
|
| [[oeis:A353306|A353306]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a353/A353306.java jOEIS])</small>
|-
| Drozd-map maximum ternary digit sum
| Largest base-3 digit sum along the [[oeis:A353313|A353313]] orbit after its starting term; -1 if no finite cycle is reached.
|
| [[oeis:A353309|A353309]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a353/A353309.java jOEIS])</small>
|-
| Drozd-map preperiod
| Number of terms before first entering a finite cycle under [[oeis:A353313|A353313]]; -1 if no cycle is reached.
|
| [[oeis:A353310|A353310]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a353/A353310.java jOEIS])</small>
|-
| Drozd-map distinct-orbit count
| Number of distinct terms in the [[oeis:A353313|A353313]] orbit; -1 if no finite cycle is reached.
|
| [[oeis:A353311|A353311]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a353/A353311.java jOEIS])</small>
|-
| Drozd-map cycle length
| Length of the finite cycle eventually reached under [[oeis:A353313|A353313]]; -1 if none is reached.
|
| [[oeis:A353312|A353312]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a353/A353312.java jOEIS])</small>
|-
| Calude–Dinneen–Shu halting probability
| Binary and decimal expansions of the specified nonrandom halting probability.
|
| [[oeis:A079365|A079365 (binary)]]; [[oeis:A100264|A100264 (decimal)]]
|-
| Halting probability Ω_L
| Binary expansion of the halting probability for the specified programming language L.
|
| [[oeis:A160753|A160753]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a160/A160753.java jOEIS])</small>
|-
| Wolfram two-state maxima
| Two-state/two-symbol model: runtime over all n-bit inputs; output and space for input n, using the source's stopping convention.
|
| [[oeis:A393317|A393317 (runtime)]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a393/A393317.java jOEIS])</small>; [[oeis:A391977|A391977 (output)]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a391/A391977.java jOEIS])</small>; [[oeis:A393376|A393376 (space)]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a393/A393376.java jOEIS])</small>
|-
| Wolfram three-state runtime maximum
| Three-state/two-symbol model on input n; reported terms use finite simulation cutoffs and are lower bounds.
|
| [[oeis:A390016|A390016]]
|-
| Wolfram 2,3 bounded-input runtime maximum
| Maximum boundary-halting runtime of the specified machine, starting in state 1, over tapes supported on their first n cells.
|
| [[oeis:A208229|A208229]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a208/A208229.java jOEIS])</small>
|-
| Collatz total stopping time
| Number of [[oeis:A006370|A006370]] steps from n to 1; -1 if 1 is never reached.
|
| [[oeis:A006577|A006577]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a006/A006577.java jOEIS])</small>
|-
| Collatz-orbit maximum binary weight
| Largest binary digit sum in the orbit after its starting term, following the OEIS convention; -1 if 1 is never reached.
|
| [[oeis:A352895|A352895]] <small class="plainlinks">([https://github.com/archmageirvine/joeis/blob/master/src/irvine/oeis/a352/A352895.java jOEIS])</small>
|}
|}



Latest revision as of 00:39, 24 November 2026

This page lists sequences related to the Busy Beaver functions.

These tables are incomplete, you can help by adding missing items. If you add a value, please add a reference to a paper or code with which it was computed/proved if possible.

If the "canonical" values of a sequence are maintained on another Wiki page, please link to that, instead of replicating them here.

jOEIS links provide Java implementations; see the verification notes for supporting checks.

Computable Sequences

Sequence Name Description Values OEIS sequence
2-symbol TM count (halting move included) Number of n-state, two-symbol transition tables, with left/right movement specified even on halting transitions. (4n+4)2n A052200 (jOEIS)
2-symbol TM count (no move on halt) Number of n-state, two-symbol transition tables whose halting transitions do not move the head. (4n+2)2n A141475 (jOEIS)
Bátfai's Turing-machine count Number of n-state machines under Bátfai's convention. (6n+1)2n−1 A164278 (jOEIS)
Canonical two-symbol state graphs Next-state graphs reaching all n states in canonical order, before choosing writes and movements. A107668 (jOEIS)
Scaled canonical state-graph sequence A107668(n)/(n+1)2. A107669 (jOEIS)
Number of n-state 2-symbol halt-free TMs A Turing machine is halt-free if none of its instructions lead to the halt state. A337025 (jOEIS)
Closed binary lambda terms Closed lambda terms of encoded size n, including terms without a normal form. A114852 (jOEIS)
Closed binary lambda normal forms Closed lambda terms already in beta normal form, using the same size convention. A195691 (jOEIS)
Lazy Beaver The smallest positive number of steps a(n) such that no n-state, m-symbol Turing machine halts in exactly a(n) steps on an initially blank tape. see Lazy Beaver#Computed Values A337805 (for m=2) (jOEIS)
Minimum states for n steps Minimum states of a two-symbol Turing machine halting after exactly n steps from a blank tape. A125269 (jOEIS)
Configs A(a, b) reached in Antihydra see Antihydra#Trajectory A386792 (for a) (jOEIS), A385902 (for b) (jOEIS)
Antihydra first-halting minima Smallest initial x meeting the Antihydra halting condition for the first time at term 3n+1. see Antihydra A385150 (jOEIS)
Minimum Wang tile types stopping at n Least number of tile types that tile an n × n square but not an (n+1) × (n+1) square; no rotations or reflections. A402127 (jOEIS)
Hydra/Antihydra step The update x↦⌊3x/2⌋. A032766 (jOEIS)
Hydra-map orbit from 2 Iterates of x↦⌊3x/2⌋, starting at 2. A061418 (jOEIS)
Antihydra first-halting parity patterns Number of parity patterns first triggering Antihydra halting at term 3n+1. A001764 (jOEIS)
Binary lambda terms, allowing free variables Number of terms of encoded size n, using the binary size convention. A114851 (jOEIS)
Closed lambda normal forms with zero-size variables Number of closed normal forms of size n in the alternative convention assigning size 0 to variables. A224345 (jOEIS)
PCP word-pair encodings Index of the concatenated binary string in the stated enumeration of binary PCP word-pair lists. A309250 (jOEIS)
Finite-board Snake Number Problem Maximum cyclically numbered path length on an n × n board, without repeated labels in a row or column. A353259 (orthogonal moves) (jOEIS); A353060 (knight moves) (jOEIS)
Circular-tape runtime maximum Maximum halting runtime on an n-cell circular tape, over all two-state/two-symbol machines and initial configurations. A394183 (jOEIS)
Wolfram 2,3 trace count Number of length-n (state, scanned symbol) traces over arbitrary tapes and starting states of the specified machine. A401762 (jOEIS)
Collatz map n/2 for even n; 3n+1 for odd n. A006370 (jOEIS)
Drozd-map increments A353327(n) = A353314(n)-n = A102899(n+3). A353327 (increments) (jOEIS); A102899 (shifted) (jOEIS)

Noncomputable Sequences

The following sequences depend on the specific behavior of programs and are grouped by their position in the arithmetical hierarchy.

Note that when the bbchallenge community refers to BB(n, m), we mean the Max Shift function S(n, m) defined below (if m is omitted, it is set to 2 by default). Some literature may refer to the Max Score function Σ(n, m) by BB(n, m) instead.

Π1

Sequence Name Symbol Description Values OEIS sequence
Max Shift Function S(n, m) The maximal number of steps that an n-state, m-symbol Turing machine can make on an initially blank tape before eventually halting. see the Main Page A060843 (m=2) (jOEIS); A398770 (n=2) (jOEIS); A400605 (array by antidiagonals) (jOEIS)
Max Score Function Σ(n, m) Maximum number of nonblank symbols left by a halting n-state, m-symbol machine, starting from a blank tape. A028444 (m=2) (jOEIS); A399567 (n=2) (jOEIS)
Maximum Space Function BB_SPACE(n,m) Maximum number of memory cells visited by a halting Turing machine with n states and m symbols starting from all-0 memory tape see Maximum Space Function#Champions -
Placid Platypus PP(n) The minimal number of states of 2-symbol Turing machines that print exactly n ones when halt. see Placid Platypus#Values A399346 (jOEIS)
Halting-machine count Number of n-state, two-symbol Turing machines that halt from a blank tape. A004147 (jOEIS)
Sum of halting runtimes Sum of runtimes of all halting n-state, two-symbol Turing machines on a blank tape. A386859 (jOEIS)
Blanking Busy Beaver BLB(n,m) The maximum number of steps that an n-state m-symbol Turing machine can make on an initially blank tape until it is blank again (halting or not) see Blanking Beaver#Champions -
BB_clean The maximum number of steps that an n-state 2-symbol Turing machine can make on an initially blank tape until it halts on a blank tape see Busy Cleaner A119683 (jOEIS)
BB_ones The maximum number of 1's that an n-state 2-symbol Turing machine can make in a row, before halting on a 0 next to it
Maximum Consecutive Ones Function num(n) The maximum amount of consecutive 1's that an n-state 2-symbol Turing machine can print before eventually halting see Maximum Consecutive Ones Function
Size of the Runtime Spectrum R(n) The number of distinct runtimes for the set of n-state machines see "The Spectrum of Runtimes" in "The Busy Beaver Frontier"
Instruction-Limited Busy Beaver BBi(n) Maximum number of steps that an n-instruction Turing machine (allowing any number of states and symbols) can take on an initially blank tape before eventually halting. see Instruction-Limited Busy Beaver#Champions A384629 (jOEIS)
Instruction-Limited Symbol Busy Beaver Σi(n) Maximum number of non-blank symbols that an n-instruction Turing machine (allowing any number of states and symbols) can leave on an initially blank tape before eventually halting. see Instruction-Limited Busy Beaver#Champions A384766 (jOEIS)
Instruction-Limited Greedy Busy Beaver gBBi(n) Maximum number of steps that an n-instruction Turing machine can take from a blank tape before halting, where the Turing machines first n-1 instructions are a machine which runs for gBBi(n-1) steps. see Instruction-Limited Busy Beaver#Instruction-Limited Busy Beaver Variants -
Instruction-Limited Blanking Busy Beaver BLBi(n) Maximum number of steps that an n-instruction Turing machine (allowing any number of states and symbols) can take on an initially blank tape before blanking the tape again. see Blanking Beaver#Instruction-limited Blanking Busy Beaver (BLBi(n)) -
Busy Beaver for lambda calculus BBλ(n) Maximum beta-normal-form size of a closed lambda term of encoded size n; 0 if none exists. see Lambda Calculus#Champions A333479 (jOEIS)
Busy Beaver for Binary Lambda Calculus BBλ2(n) Maximum output size of an n-bit self-delimiting BLC program; 0 if none exists. see Lambda Calculus#Optimal Busy Beaver A361211 (jOEIS)
Normalizing closed binary lambda terms Number of closed lambda terms of encoded size n that have a beta normal form. A333958 (jOEIS)
Number of BBλ2 terms that reads all input A BBλ2 term reads all input iff it has a normal form, but removing the last bit makes it no longer have one
Fractran BBf(n) The maximal number of steps that a Fractran program of size n can make on the integer 2 before eventually halting. see Fractran#Champions A395424 (jOEIS)
Post correspondence Busy Beaver Maximum shortest-solution length for solvable binary PCP instances with at most n dominoes of nonempty words and maximum word length n. A399884 (jOEIS)
Register Busy Beaver MBB(n) Maximum runtime from zeroed registers, with n non-halting instructions; Halt is not counted in n. see Register Busy Beaver A401603(n+1) (jOEIS)
Register Sigma MΣ(n) Maximum register value at halting, with n non-halting instructions and initially zero registers. see Register Busy Beaver A081419(n+1) (jOEIS)
Halting compressed register-program count Number of properly halting programs of total length 7n bits in the specified register-machine encoding; runtime errors excluded. A400878

Π2

Sequence Name Symbol Description Values OEIS sequence
Beeping Busy Beaver BBB(n) Latest final beep of a quasihalting n-state, two-symbol machine under the stated observer convention. see Beeping Busy Beaver#Champions
Busy Beaver for lambda calculus with a BBλ oracle BBλ1 Maximum beta/oracle normal-form size of a 1-closed lambda term of size n; 0 if none exists. see Lambda Calculus#Oracle Busy Beaver A385712 (jOEIS)
Machines visiting infinitely many cells Number of n-state machines whose runs from a blank tape visit infinitely many cells.

Π3

Sequence Name Symbol Description Values OEIS sequence
Beeping Booping busy beaver BBBB(n) see Beeping Busy Beaver#Beeping Booping Busy Beavers

Yet ungrouped

Sequence Name Symbol Description Values OEIS sequence
#S(n, m) The number of programs that halt after exactly S(n,m) steps (Max Shift) for each n of a given m (including all equivalent transformations) #S(1,2)=32, #S(2,2)=40, #S(3,2)=16 -
#Σ(n, m) The number of programs that halt with Σ(n, m) 1's on the tape (Max Score) for each n of a given m (including all equivalent transformations) #Σ(1,2)=16, #Σ(2,2)=4, #Σ(3,2)=40
Maximum space #BB_SPACE(n,m) The number of programs that visited the most number of tape cells for a given (n,m) (including all equivalent transformations) #BB_SPACE(1,2)=32, #BB_SPACE(2,2)=24, #BB_SPACE(3,2)=48 -
The average number of states that are reached infinitely many times, among all non-halting turing machines with n states -
Diagonal halting sequence a(n) fn(n)+1 when defined, otherwise 0, using Cutland's Gödel numbering. A118874

Other related OEIS sequences

Sequence Name Description Values OEIS sequence
Binary-input runtime variant Maximum halting runtime of two-state, two-symbol machines starting on binary n, with the head at its rightmost bit. A131956 (jOEIS)
Binary-input score variant Maximum final number of ones under the same binary-input convention. A131957 (jOEIS)
Halting-output distributions Flattened, frequency-ordered output strings of halting n-state, two-symbol machines, concatenated over n. A141474 (jOEIS)
Reciprocal Busy Beaver constant Decimal digits of ∑n≥11/S(n,2). A362199 (jOEIS)
Rayo's function (OEIS variant) Least natural number above all numbers uniquely defined by an exactly n-symbol set-theory formula. A368006 (jOEIS)
Schult machine pattern lengths Finite pattern-length trace from Uwe Schult's former five-state Busy Beaver candidate. A016071 (jOEIS)
BB(5) macro-iteration Finite orbit of the Marxen–Buntrock BB(5) champion under its two-branch recurrence. A386909 (jOEIS)
Drozd map f(3k)=k,f(3k+1)=5k+4,f(3k+2)=5k+5. A353313 (jOEIS)
Drozd map with fixed multiples of three g(3k)=3k,g(3k+1)=5k+4,g(3k+2)=5k+5. A353314 (jOEIS)
First multiple of three reached First multiple of three reached by iterating A353314 from n; -1 if none is reached. A349876 (jOEIS)
Snake Number Problem Maximum visited-square count for finite square-grid snakes following n periodic moves, skipping moves to visited squares (n ≥ 5). A353176 (jOEIS)
Even Antihydra halting starts (conjectural) Even initial values observed to halt; completeness of the increasing list is conjectural. A398746 (jOEIS)
Finite-snake instruction-list count Number of n-periodic instruction lists producing a finite snake, identifying lists under square-grid rotations and reflections. A352388
Multiple-snake length maxima Maximum finite lengths for the variants with two, three or four snakes using n-periodic instructions. A353234 (two snakes) (jOEIS); A354915 (three snakes) (jOEIS); A354916 (four snakes) (jOEIS)
Drozd-map stopping time Iterations of A353314 required to reach a multiple of 3; -1 if none is reached. A349877 (jOEIS)
Drozd-map terminal records Record values of A349876. A349896 (jOEIS)
Drozd-map minimum visited value Least value reached after the starting term under A353313; -1 if no finite cycle is reached. A353305 (jOEIS)
Drozd-map starts reaching 1 Starting values whose A353313 orbit reaches 1; the positions of ones in A353305. A353306 (jOEIS)
Drozd-map maximum ternary digit sum Largest base-3 digit sum along the A353313 orbit after its starting term; -1 if no finite cycle is reached. A353309 (jOEIS)
Drozd-map preperiod Number of terms before first entering a finite cycle under A353313; -1 if no cycle is reached. A353310 (jOEIS)
Drozd-map distinct-orbit count Number of distinct terms in the A353313 orbit; -1 if no finite cycle is reached. A353311 (jOEIS)
Drozd-map cycle length Length of the finite cycle eventually reached under A353313; -1 if none is reached. A353312 (jOEIS)
Calude–Dinneen–Shu halting probability Binary and decimal expansions of the specified nonrandom halting probability. A079365 (binary); A100264 (decimal)
Halting probability Ω_L Binary expansion of the halting probability for the specified programming language L. A160753 (jOEIS)
Wolfram two-state maxima Two-state/two-symbol model: runtime over all n-bit inputs; output and space for input n, using the source's stopping convention. A393317 (runtime) (jOEIS); A391977 (output) (jOEIS); A393376 (space) (jOEIS)
Wolfram three-state runtime maximum Three-state/two-symbol model on input n; reported terms use finite simulation cutoffs and are lower bounds. A390016
Wolfram 2,3 bounded-input runtime maximum Maximum boundary-halting runtime of the specified machine, starting in state 1, over tapes supported on their first n cells. A208229 (jOEIS)
Collatz total stopping time Number of A006370 steps from n to 1; -1 if 1 is never reached. A006577 (jOEIS)
Collatz-orbit maximum binary weight Largest binary digit sum in the orbit after its starting term, following the OEIS convention; -1 if 1 is never reached. A352895 (jOEIS)

More possibilities

  • The number of distinct final tape states of halting machines with n states and m symbols, for some definition of "distinct"
  • Any of the above for machines with more than one tape, or tapes with more dimensions (2d grid, 3d, n-d...)
  • Machines with a finite tape, or a circular one of a certain length
  • Any of the above functions bounded by the number of instructions rather than states and symbols.

Further information

For more information on sequences, see the OEIS Wiki: Busy Beaver Numbers, OEIS search: "busy beaver" and OEIS Wiki: "related to busy beaver"