← Back to directory

Primality test (deterministic Miller-Rabin below 2^64) plus the next and previou...

https://crypto-math.x402tookit.com/prime

Overview

Primality test (deterministic Miller-Rabin below 2^64) plus the next and previous prime, with BigInt.

Protocol x402
Price $0.02
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Crypto Math
Source bazaar
Indexed 2026-10-20 21:22:37

Health

Status healthy
Latency (p50) 541ms
Uptime (30d) 81.3%
Reliability Score 80.6/100
Last Checked 2026-10-28 06:43:09
Last Healthy 2026-10-28 06:43:09
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "n": "18446744073709551557", "neighbors": true }, "type": "http" }

Output Schema

{ "example": { "asOf": "2026-10-11T23:46:29.555Z", "degraded": false, "deterministic": true, "disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.", "isPrime": true, "n": { "bits": 64, "decimal": "18446744073709551557", "hex": "0xffffffffffffffc5" }, "nextPrime": "18446744073709551629", "notChecked": [ "a primality certificate: above 2^64 a PROBABLY_PRIME answer is not a proof", "primes of cryptographic quality for key generation (use a vetted library and a secure random source)" ], "previousPrime": "18446744073709551533", "reasons": [ "Below 2^64 the first 12 prime bases form a proven deterministic Miller-Rabin set, so the answer is exact." ], "source": "Miller-Rabin with fixed prime bases (first 12 below 2^64, a proven deterministic set; first 16 above), computed locally", "summary": "18446744073709551557 is prime (deterministic test).", "verdict": "PRIME" }, "type": "json" }