Beta: This SDK is supported for production use cases, but we do expect future releases to have some interface changes; see Interface stability. We are keen to hear feedback from you on these SDKs.
The map $3n+1$ is completely described by a 4-state Deterministic Finite-State Transducer (DFST) with a 16-entry transition table. A DFST is a machine that reads input symbol by symbol, maintains a ...