Sequences

From BusyBeaverWiki
Revision as of 23:57, 13 November 2026 by GregoryMorse (talk | contribs) (Complete OEIS “beaver” search coverage; fix conventions and indexing)
Jump to navigation Jump to search

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. (4n+4)2n 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. (4n+2)2n A141475
Canonical two-symbol state graphs Next-state graphs reaching all n states in canonical order, before choosing writes and movements. A107668
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 3n+1. see Antihydra A385150

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); 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)
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
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)

Π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 -

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
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 ∑n≥11/S(n,2). 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 f(3k)=k,f(3k+1)=5k+4,f(3k+2)=5k+5. A353313
Drozd map with fixed multiples of three g(3k)=3k,g(3k+1)=5k+4,g(3k+2)=5k+5. A353314
First multiple of three reached First multiple of three reached by iterating A353314 from n; -1 if none is reached. A349876

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"