OFFSET
1,2
COMMENTS
A 2-automatic sequence is generated by a DFAO (deterministic finite automaton with output) as follows: the input is an integer represented in base 2, and the automaton transits from state to state until the input is completely processed; the output is the value of the output function on the last state reached. We require that the automaton have a self-loop on input 0 from the first state to itself, so that leading zeros do not affect the result.
CROSSREFS
KEYWORD
nonn,more,new
AUTHOR
Jeffrey Shallit, May 11 2026
STATUS
approved
