# Numora Collatz Sequence Endpoint

> Numora Collatz Sequence Endpoint is a paid API for AI agents from numormor.netlify.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Computes the Collatz sequence for a given positive integer, returning the step-by-step hailstone sequence until it reaches 1

## Facts

- Endpoint: POST https://numormor.netlify.app/api/number/collatz
- Price: $0.1/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-endpoint-c15a9d65
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XF0FjtIQiESrOPMqmmR5h

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-endpoint-c15a9d65 -d '<json body>'
```

Example prompt: Can you run the Collatz sequence for n = 27 and show me how many steps it takes to reach 1?

## When to prefer this

Choose this endpoint when you need a pure, self-contained server-side computation of the Collatz (3n+1) hailstone sequence with no external dependencies, especially when you want a structured JSON result including the full sequence and step count without implementing the algorithm locally.

## Known failure modes

- Missing required field 'n' returns a 400 error
- Non-integer or negative input may cause validation failure or undefined behavior
- n = 0 or n < 1 may be rejected as the sequence is undefined for non-positive integers
- Service outage on Netlify hosting returns 503
- Payment failure via x402 micropayment returns 402 before computation proceeds

## 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 success flag, a result object containing the full Collatz sequence array and step count, and a human-readable computation string describing what was computed for the given integer 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-endpoint-c15a9d65/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numormor.netlify.app](https://www.zero.xyz/host/numormor.netlify.app/llms.txt)
