OFFSET
1,2
COMMENTS
Pi = 3 + tanh(x(0) + tanh(x(1) + tanh(x(2) + tanh(x(3) + ...)))). The set {x(k)} is sparse, so k is in this sequence only when x(k) is nonzero.
LINKS
Patrick J. Millican, contfunc GitHub repository.
A. Rényi, Representations for real numbers and their ergodic properties, Acta Mathematica Academiae Scientiarum Hungaricae 8, 477-493 (1957).
MATHEMATICA
ContTanh[n_, mx_] := Block[{k = 0, x = n, lmt = mx + 1, s, lst = {}}, While[k < lmt, s = Floor[x]; x = ArcTanh[x - s]; If[s > 0, AppendTo[lst, k] ]; k++]; lst]; ContTanh[Pi, 100000]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Patrick J. Millican, Mar 31 2026
STATUS
approved
