farey_sequence
Generate Farey sequences of order n to represent fractions between 0 and 1 in reduced form, useful for number theory and rational approximations.
Instructions
Generate the Farey sequence F_n of order n. (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": {
"n": "<n>"
},
"name": "farey_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |