# Numora Collatz Sequence Computation

> Numora Collatz Sequence Computation is a paid API for AI agents from numorapoi.orbonomy.xyz, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Computes the Collatz sequence (3n+1 problem) for a given positive integer, returning the full sequence and related metrics

## Facts

- Endpoint: POST https://numorapoi.orbonomy.xyz/api/number/collatz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-collatz-sequence-generator-da976a3e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zxdDHTU-0fS3a-kwo5EZf

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-collatz-sequence-generator-da976a3e -d '<json body>'
```

Example prompt: Run the Collatz sequence computation on the number 27 and tell me how many steps it takes to reach 1 and what the highest value is along the way.

## When to prefer this

Use this endpoint when you need server-side computation of the Collatz (3n+1) sequence without implementing the algorithm locally, especially when you want sequence metadata (length, peak, stopping time) alongside the full sequence. Prefer this over general-purpose code execution endpoints when a lightweight, paid, pure-math API call is acceptable.

## Known failure modes

- Missing required field 'n' returns validation error
- Non-integer or negative input may return 400 or error result
- Payment failure via x402 returns 402 Payment Required before computation
- Very large values of n may cause long sequences or timeout
- n=0 or n=1 edge cases may return minimal or immediate sequences

## 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 success=true, a result object containing the full Collatz sequence array and metrics (sequence length, peak value, stopping time), and a human-readable computation string describing what was computed for n.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "n"
 ],
 "properties": {
  "n": {
   "type": "integer"
  }
 }
}
```

## 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-collatz-sequence-generator-da976a3e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numorapoi.orbonomy.xyz](https://www.zero.xyz/host/numorapoi.orbonomy.xyz/llms.txt)
