nth_power_of_two
Calculate 2 raised to any integer power n to compute exponential values for mathematical sequences and binary operations.
Instructions
Get the nth power of two (0-indexed). (Domain: arithmetic, Category: basic_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": "nth_power_of_two"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |