farey_sequence_length
Calculate the number of fractions in a Farey sequence F_n to analyze rational number distributions and solve number theory problems.
Instructions
Calculate the length of Farey sequence F_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_length"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |