login
A335699
Irregular tree read by rows: take the Stern-Brocot tree A007305(n)/A007306(n) and set a(n) = A007306(n) - A007305(n) mod 3.
0
1, 0, 1, 2, 1, 0, 0, 2, 1, 1, 2, 2, 1, 0, 0, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 2, 1, 0, 0, 2, 1, 0, 0, 2, 1, 2, 1, 0, 0, 0, 0, 1, 2, 1, 2, 0, 0, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 2, 1, 0, 0, 2, 1, 1, 2, 2, 1, 0, 0, 2, 1, 2, 1, 0, 0, 2
OFFSET
0,4
LINKS
Kiana Mittelstaedt, A Stochastic Approach to Eulerian Numbers, arXiv:1902.03195 [math.CO], 2019. Also Amer. Math. Mnthly, 127:7 (2020), 618-628. See Fig. 5. Note that this author has omitted the two initial terms.
EXAMPLE
The initial rows of the tree are 1,0 // 1 // 2,1 // 0,0,2,1 // 1,2,2,1,0,0,2,1 // ...
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
N. J. A. Sloane, Aug 05 2020
STATUS
approved