# Numora Sequence Generation API

> Numora Sequence Generation API is a paid API for AI agents from numomo.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Generates mathematical sequences of length n using a user-defined recurrence rule and optional initial conditions

## Facts

- Endpoint: POST https://numomo.vercel.app/api/generate/sequence
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-sequence-generation-api-aced7ae1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lCCi_K3PC2HUSr_wtxFgP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability numora-sequence-generation-api-aced7ae1 -d '<json body>'
```

Example prompt: Generate the first 15 terms of the sequence defined by the recurrence rule a[n] = 2*a[n-1] + 3 starting with initial values [1, 2].

## When to prefer this

Choose this endpoint when you need to generate a mathematically defined sequence from a recurrence relation or formula, especially when you want zero external dependencies and deterministic pure-math computation. Prefer this over custom code execution environments when the task is simply evaluating a recurrence rule for a fixed number of terms, and when micropayment-per-call billing ($0.02 USDC) fits the usage pattern better than a subscription.

## Known failure modes

- Invalid or unparseable recurrence rule expression returns an error
- n is zero or negative, resulting in an empty or invalid sequence
- Initial values array has fewer elements than required by the recurrence depth
- Malformed JSON body causes a 400-level error
- Rule references undefined variables or uses unsupported syntax

## How this service works

100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.

## Output

Returns a JSON object with a 'success' boolean, a 'result' object containing the generated sequence terms, and a 'computation' string that describes in human-readable form what was computed (e.g., which rule was applied and how many terms were generated).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "n",
  "rule"
 ],
 "properties": {
  "n": {
   "type": "integer"
  },
  "rule": {
   "type": "string",
   "description": "Recurrence rule (e.g., 'a[n] = 2*a[n-1] + 1')"
  },
  "initial": {
   "type": "array"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success",
  "result",
  "computation"
 ],
 "properties": {
  "result": {
   "type": "object",
   "description": "Computation result varies by endpoint"
  },
  "success": {
   "type": "boolean",
   "description": "Always true on success"
  },
  "computation": {
   "type": "string",
   "description": "Human-readable description of what was computed"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/numora-sequence-generation-api-aced7ae1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numomo.vercel.app](https://www.zero.xyz/host/numomo.vercel.app/llms.txt)
