# Numora Mersenne Number Generator

> Numora Mersenne Number Generator 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).

Checks whether 2^exponent - 1 is a Mersenne prime and returns the resulting number and primality status

## Facts

- Endpoint: POST https://numormor.netlify.app/api/number/mersenne
- 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-mersenne-number-generator-9f961bec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uwjcfUIh7zhwJQ1QncJr0

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-mersenne-number-generator-9f961bec -d '<json body>'
```

Example prompt: Check whether 2 raised to the power of 127 minus 1 is a Mersenne prime and tell me the resulting number.

## When to prefer this

Use this endpoint when you need to determine whether 2^p − 1 is a Mersenne prime for a specific integer exponent p, without installing any local math libraries. Ideal for number theory workflows, prime research pipelines, or educational math agents that need fast, dependency-free primality computation via micropayment.

## Known failure modes

- Missing required 'exponent' field returns a validation error
- Non-integer exponent value causes a schema validation failure
- Very large exponents may exceed computation limits or time out
- Payment failure via x402 returns HTTP 402 and no computation result
- Negative or zero exponent may return an error or undefined result

## 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 Mersenne number value and primality status, and a human-readable computation description string explaining what was computed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "exponent"
 ],
 "properties": {
  "exponent": {
   "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-mersenne-number-generator-9f961bec/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)
