stern_brocot_tree
Generate a path through the Stern-Brocot tree to reach a target fraction, useful for exploring rational number sequences and approximations.
Instructions
Generate path through Stern-Brocot tree to reach target fraction. (Domain: arithmetic, Category: farey_sequences)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_p | Yes | ||
| target_q | Yes |