collatz_stopping_time
Calculate the number of steps required for a positive integer to reach 1 using the Collatz conjecture iterative sequence.
Instructions
Calculate the Collatz stopping time (number of steps to reach 1). (Domain: arithmetic, Category: iterative_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": "collatz_stopping_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |