farey_neighbors
Calculate adjacent fractions in a Farey sequence for given numerator, denominator, and order. Use this tool to find neighboring fractions in mathematical sequences.
Instructions
Find the neighbors of a fraction in a Farey sequence. (Domain: arithmetic, Category: farey_sequences)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | Yes | ||
| q | Yes | ||
| n | Yes |