digital_persistence
Calculate how many multiplication steps it takes to reduce a number to a single digit by repeatedly multiplying its digits.
Instructions
Calculate digital persistence (number of steps to reach single digit). (Domain: arithmetic, Category: special_numbers)
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": "digital_persistence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| operation | No | multiply |