occur either, else one of its children would be r/s, and its numerator is smaller, the denomi-
nator being the same , a contradiction. If r < s, then r/(s − r) doesn’t occur either, else one
of its children would be r/s, and it has a smaller denominator, a contradiction.
3. No reduced positive rational number occurs at more than one vertex. First, the rational
number 1 occurs only at the top vertex of the tree, for if not, it would be a child of some
vertex r/s. But the children of r/s are r/(r + s) and (r + s)/s, neither of which can be 1.
Otherwise, among all reduced rationals that occur more than once, let r/s have the smallest
denominator, and among these, the smallest numerator. If r < s then r/s is a left child of
two distinct vertices, at both of which r/(s − r) lives, contradicting the minimality of the
denominator. Similarly if r > s. 2
It follows that a list of all positive rational numbers, each appearing once and only once, can be
made by writing down 1/1, then the fractions on the level just below the top of the tree, reading
from left to right, then the fractions on the next level down, reading from left to right, etc.
We claim that if that be done, then the denominator of each fraction is the numerator of its
successor. This is cle ar if the fraction is a left child and its successor is the right child, of the same
parent. If the fraction is a right child then its denominator is the same as the denominator of its
parent and the numerator of its succe ss or is the same as the numerator of the parent of its successor,
hence the result follows by downward induction on the levels of the tree. Finally, the rightmost
vertex of each row has denominator 1, as does the leftmost vertex of the next row, proving the
claim.
Thus, after we make a single sequence of the rationals by reading the successive rows of the tree
as described above, the list will be in the form {f(n)/f(n + 1)}
n≥0
, for some f.
Now, as the fractions sit in the tree, the two children of f (n)/f(n + 1) are f (2n + 1)/f(2n + 2)
and f(2n + 2)/f(2n + 3). Hence from the rule of construction of the children of a parent, it must
be that
f(2n + 1) = f(n) and f(2n + 2) = f(n) + f(n + 1) (n = 0, 1, 2, . . .).
These recurrences evidently determine our function f on all nonnegative integers.
We claim that f (n) = b(n), the number of hyperbinary re presentations of n, for all n ≥ 0.
This is true for n = 0, and suppose true for all integers ≤ 2n. Now b(2n + 1) = b(n), because if
we are given a hyperbinary expansion of 2n + 1, the “1” must appear, hence by subtracting 1 from
both sides and dividing by 2, we’ll get a hyperbinary representation of n. Conversely, if we have
such an expansion of n, then double each part and add a 1, to obtain a representation of 2n + 1.
Furthermore, b(2n + 2) = b(n) + b(n + 1), for a hyperbinary expansion of 2n + 2 might have
either two 1’s or no 1’s in it. If it has two 1’s, then by deleting them and dividing by 2 we’ll get an
expansion of n. If it has no 1’s, then we just divide by 2 to get an expansion of n + 1. These maps
are reversible, proving the claim.
It follows that b(n) and f(n) satisfy the same recurrence formulas and take the same initial
values, hence they agree for all nonnegative integers. We state the final result as follows.
3