eval_program
Execute LODA assembly programs to compute mathematical integer sequences from OEIS, generating specified terms with optional offset for sequence analysis.
Instructions
Evaluate a LODA program and return sequence terms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | LODA program code | |
| o | No | Offset (optional) | |
| t | No | Number of terms |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"code": {
"description": "LODA program code",
"type": "string"
},
"o": {
"description": "Offset (optional)",
"type": "number"
},
"t": {
"description": "Number of terms",
"maximum": 10000,
"minimum": 1,
"type": "number"
}
},
"required": [
"code"
],
"type": "object"
}