# Sindri Prime Factorization

> Sindri Prime Factorization is a paid API for AI agents from ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-19).

Decomposes an integer (2 to 10^12) into its complete list of prime factors with repetition using trial division.

## Facts

- Endpoint: POST https://ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/primeFactorize?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sindri-prime-factorization-ab7d9dd0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UzBS6zYTrpKYWS_9FYmgt

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 sindri-prime-factorization-ab7d9dd0 -d '<json body>'
```

Example prompt: Can you give me the full prime factorization of 720720, including any repeated factors?

## When to prefer this

Choose this endpoint when you need the complete prime factorization of a single integer up to one trillion, including repeated prime factors. It is ideal for number theory tasks, computing GCD/LCM, verifying primality, or cryptographic exercises. Prefer it over manual computation or general-purpose code execution when you want a fast, reliable, pay-per-use API call without setting up your own environment.

## Known failure modes

- Input n below 2 or above 10^12 returns a validation error
- Non-integer or non-numeric n causes a bad request error
- Very large numbers near 10^12 with many small factors may take slightly longer but should still succeed
- Missing n field in the request body returns a schema validation error
- Payment not provided or insufficient USDC results in a 402 Payment Required response

## How this service works

Prime factorization of an integer via trial division, returning the full list of prime factors (with repetition).

## Output

A list of prime factors (with repetition) whose product equals the input integer n. For example, input 12 returns [2, 2, 3]. The factors are returned in ascending order, covering all prime divisors including duplicates.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "n": {
   "type": "number",
   "description": "Integer to factorize (2 to 10^12)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sindri-prime-factorization-ab7d9dd0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws](https://www.zero.xyz/host/ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/llms.txt)
