login
A393106
Halting time for Wolfram's 2-state 2-symbol Turing machine 261 when started with n on the tape.
5
5, 7, 7, 3, 9, 9, 9, 3, 5, 11, 11, 3, 11, 11, 11, 3, 5, 7, 7, 3, 13, 13, 13, 3, 5, 13, 13, 3, 13, 13, 13, 3, 5, 7, 7, 3, 9, 9, 9, 3, 5, 15, 15, 3, 15, 15, 15, 3, 5, 7, 7, 3, 15, 15, 15, 3, 5, 15, 15, 3, 15, 15, 15, 3, 5, 7, 7, 3, 9, 9, 9, 3, 5, 11, 11, 3, 11
OFFSET
1,1
COMMENTS
See A392245 for further details.
All terms are odd since position -1 can be reached from position 0 only with an odd number of +-1 steps. (This holds obviously for any 1-dimensional movement.) - M. F. Hasler, Feb 08 2026
FORMULA
a(n) = 3 iff n = 0 (mod 4); a(n) = 5 iff n = 1 (mod 8); a(n) = 7 iff n = 2 or 3 (mod 16); a(n) = 9 iff n = 5, 6 or 7 (mod 32); a(n) = 11 iff n = 10, 11, 13, 14 or 15 (mod 64), etc. - M. F. Hasler, Feb 08 2026
MATHEMATICA
With[{lim = 74}, PacletSymbol["WolframInstitute/TuringMachine", "OneSidedTuringMachineFunction"][{261, 2, 2}, {1, lim}, lim, "Steps"] ] (* Michael De Vlieger, Feb 06 2026, modified from 5th example in "The Basic Setup" in "P vs. NP ..." *)
PROG
(Python) # see linked program
(PARI) A393106(n)=A393103(n, 261); \\ Cf. A393103 for the function; this uses just a different rule. - M. F. Hasler, Feb 08 2026
CROSSREFS
Cf. A392245 (result computed by this TM for input n), A393103 (halting time for rule 1285), A393146 (halting time for rule 3333).
Sequence in context: A210623 A020760 A225155 * A011269 A093723 A065773
KEYWORD
nonn
AUTHOR
Sean A. Irvine, Feb 01 2026
STATUS
approved