Exercise · Volume 1 · 2.3-13
Exercise 2.3-13
not stated yet in Lean solution written
| Rating | 10 |
|---|---|
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 2.3 of Volume 1 |
The task
Node has the Dewey number . Give the Dewey numbers of the nodes on the path from to the root.
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
The parent of in Dewey notation is .
Solution
Show the solution
The parent of the node is the node . So drop the last number one at a time. The path from up to the root is
The last one, , is the root of the tree. For a single tree the first number is .
Check
In the Dewey notation for Fig. 19 the node is . Its path to the root is , , , , which are . A python3 check for all nine nodes gave the same paths as the parent table.
Remarks
There are nodes on the path, so the level of is .
This solution is drafted, and a person has not reviewed it yet. The source.
In Lean
not stated yet The exercise is not stated in Lean yet.
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.