# minia2a Primitive Root Checker

> minia2a Primitive Root Checker is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Checks whether a given integer is a primitive root modulo some modulus (number theory computation)

## Facts

- Endpoint: GET https://minia2a.uk/x402/isPrimitiveRoot?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-primitive-root-checker-619312bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EzWfiT8lgu8TRSPM-BBpE

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 minia2a-primitive-root-checker-619312bd
```

Example prompt: Can you check if 3 is a primitive root modulo 7?

## When to prefer this

Use this endpoint when you need a quick, paid API check for primitive root status in modular arithmetic — suitable for cryptographic parameter validation, discrete math problems, or finite field construction where you need a reliable remote computation without implementing the algorithm yourself.

## Known failure modes

- Missing or invalid input number returns an error
- Non-integer or non-positive input may be rejected
- Very large numbers may time out or be unsupported
- Missing modulus parameter causes computation failure

## How this service works

Is Primitive Root

## Output

Returns a boolean or similar result indicating whether the provided integer is a primitive root modulo the given modulus, based on number theory computation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 },
 "answerAt": "result"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-primitive-root-checker-619312bd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minia2a.uk](https://www.zero.xyz/host/minia2a.uk/llms.txt)
