farey_fraction_between
Find a fraction between two given fractions using Farey sequence properties to solve arithmetic problems involving rational numbers.
Instructions
Find a fraction between two given fractions using Farey sequence properties. (Domain: arithmetic, Category: farey_sequences)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"p1": "<p1>",
"q1": "<q1>",
"p2": "<p2>",
"q2": "<q2>"
},
"name": "farey_fraction_between"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p1 | Yes | ||
| q1 | Yes | ||
| p2 | Yes | ||
| q2 | Yes |