A360566 Level sizes of numerator-denominator-incrementing tree of rationals in (0,1).
1, 1, 2, 1, 2, 2, 3, 2, 4, 2, 4, 4, 3, 3, 6, 3, 6, 4, 5, 5, 8, 4, 7, 7, 7, 5, 10, 4, 8, 8, 11, 8, 11, 6, 12, 12, 11, 6, 12, 7, 12, 10, 14, 10, 18, 7, 12, 12, 13, 11, 20, 9, 14, 11, 15, 13, 22, 8, 16, 18, 17, 14, 19, 9, 18, 14, 19, 12, 24, 11, 22, 22, 19, 15, 24, 12, 24, 18, 27, 22, 36, 12, 19, 23
Offset: 3
Keywords
Examples
To build the tree, 1/2 only has child 1/3, since 2/2 = 1 is outside of (0,1). Then 1/3 has children 1/4 and 2/3. In turn, 1/4 only has child 1/5 because 2/4 = 1/2 has already occurred, and 2/3 has no children because 2/4 has already occurred and 3/3 is too large. Continuing in this fashion, the first few levels of the tree look like: 1/2 | 1/3 | \ 1/4 2/3 | 1/5 | \ 1/6 2/5 | | 1/7 3/5 | \ \ 1/8 2/7 4/5 Therefore, this sequence begins 1, 1, 2, 1, 2, 2, 3, ...
Links
- Glen Whitney, Table of n, a(n) for n = 3..10002
- G. Gordon and G. Whitney, The Playground Problem 367, Math Horizons, Vol. 26 No. 1 (2018), 32-33.
Crossrefs
Programs
-
Python
# See the entry for A360564.
Comments