Sequences
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.
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. | A052200 | |
| 2-symbol TM count (no move on halt) | Number of n-state, two-symbol transition tables whose halting transitions do not move the head. | A141475 | |
| Bátfai's Turing-machine count | Number of n-state machines under Bátfai's convention. | A164278 | |
| Canonical two-symbol state graphs | Next-state graphs reaching all n states in canonical order, before choosing writes and movements. | A107668 | |
| Scaled canonical state-graph sequence | A107668(n)/(n+1)2. | A107669 | |
| 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 | |
| Closed binary lambda terms | Closed lambda terms of encoded size n, including terms without a normal form. | A114852 | |
| Closed binary lambda normal forms | Closed lambda terms already in beta normal form, using the same size convention. | A195691 | |
| 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) |
| Minimum states for n steps | Minimum states of a two-symbol Turing machine halting after exactly n steps from a blank tape. | A125269 | |
| Configs A(a, b) reached in Antihydra | see Antihydra#Trajectory | A386792 (for a), A385902 (for b) | |
| Antihydra first-halting minima | Smallest initial x meeting the Antihydra halting condition for the first time at term . | see Antihydra | A385150 |
| 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 | |
| Hydra/Antihydra step | The update . | A032766 | |
| Hydra-map orbit from 2 | Iterates of , starting at 2. | A061418 | |
| Antihydra first-halting parity patterns | Number of parity patterns first triggering Antihydra halting at term . | A001764 | |
| Binary lambda terms, allowing free variables | Number of terms of encoded size n, using the binary size convention. | A114851 | |
| 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 | |
| PCP word-pair encodings | Index of the concatenated binary string in the stated enumeration of binary PCP word-pair lists. | A309250 | |
| 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); A353060 (knight moves) | |
| Circular-tape runtime maximum | Maximum halting runtime on an n-cell circular tape, over all two-state/two-symbol machines and initial configurations. | A394183 | |
| Wolfram 2,3 trace count | Number of length-n (state, scanned symbol) traces over arbitrary tapes and starting states of the specified machine. | A401762 | |
| Collatz map | for even n; for odd n. | A006370 | |
| Drozd-map increments | A353327(n) = A353314(n)-n = A102899(n+3). | A353327 (increments); A102899 (shifted) |
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); A398770 (n=2); A400605 (array by antidiagonals) |
| 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); A399567 (n=2) | |
| 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 |
| Halting-machine count | Number of n-state, two-symbol Turing machines that halt from a blank tape. | A004147 | ||
| Sum of halting runtimes | Sum of runtimes of all halting n-state, two-symbol Turing machines on a blank tape. | A386859 | ||
| 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 | |
| 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 |
| 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 |
| 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 |
| 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 |
| Normalizing closed binary lambda terms | Number of closed lambda terms of encoded size n that have a beta normal form. | A333958 | ||
| 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 |
| 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 | ||
| 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) |
| 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) |
| 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 |
| 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) | when defined, otherwise 0, using Cutland's Gödel numbering. | A118874 |
| 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 | |
| Binary-input score variant | Maximum final number of ones under the same binary-input convention. | A131957 | |
| Halting-output distributions | Flattened, frequency-ordered output strings of halting n-state, two-symbol machines, concatenated over n. | A141474 | |
| Reciprocal Busy Beaver constant | Decimal digits of . | A362199 | |
| Rayo's function (OEIS variant) | Least natural number above all numbers uniquely defined by an exactly n-symbol set-theory formula. | A368006 | |
| Schult machine pattern lengths | Finite pattern-length trace from Uwe Schult's former five-state Busy Beaver candidate. | A016071 | |
| BB(5) macro-iteration | Finite orbit of the Marxen–Buntrock BB(5) champion under its two-branch recurrence. | A386909 | |
| Drozd map | . | A353313 | |
| Drozd map with fixed multiples of three | . | A353314 | |
| First multiple of three reached | First multiple of three reached by iterating A353314 from n; -1 if none is reached. | A349876 | |
| Snake Number Problem | Maximum visited-square count for finite square-grid snakes following n periodic moves, skipping moves to visited squares (n ≥ 5). | A353176 | |
| Even Antihydra halting starts (conjectural) | Even initial values observed to halt; completeness of the increasing list is conjectural. | A398746 | |
| 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); A354915 (three snakes); A354916 (four snakes) | |
| Drozd-map stopping time | Iterations of A353314 required to reach a multiple of 3; -1 if none is reached. | A349877 | |
| Drozd-map terminal records | Record values of A349876. | A349896 | |
| Drozd-map minimum visited value | Least value reached after the starting term under A353313; -1 if no finite cycle is reached. | A353305 | |
| Drozd-map starts reaching 1 | Starting values whose A353313 orbit reaches 1; the positions of ones in A353305. | A353306 | |
| 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 | |
| Drozd-map preperiod | Number of terms before first entering a finite cycle under A353313; -1 if no cycle is reached. | A353310 | |
| Drozd-map distinct-orbit count | Number of distinct terms in the A353313 orbit; -1 if no finite cycle is reached. | A353311 | |
| Drozd-map cycle length | Length of the finite cycle eventually reached under A353313; -1 if none is reached. | A353312 | |
| 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 | |
| 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); A391977 (output); A393376 (space) | |
| 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 | |
| Collatz total stopping time | Number of A006370 steps from n to 1; -1 if 1 is never reached. | A006577 | |
| 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 |
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"