← Back to directory

For the POSITIVE square-root branch value x=(sqrt(d)+p)/q with nonsquare integer...

https://datenvertrag.halowerk.com/v1/quadratic-surd-periodic-continued-fraction

Overview

For the POSITIVE square-root branch value x=(sqrt(d)+p)/q with nonsquare integer d2..31, integer p−2..2 and positive q1..3, reconstruct its canonical regular continued fraction by floor then reciprocal fractionalpart. Return the shortest preperiod, primitive repeating period, period_length, and EVERY rational convergent for the finite digit list preperiod followed by exactly one period.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider datenvertrag
Source bazaar
Indexed 2026-11-24 12:32:27

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "claim": { "convergents": [ [ "1", "1" ], [ "3", "2" ] ], "period": [ 2 ], "period_length": 1, "preperiod": [ 1 ] }, "d": 2, "p": 0, "q": 1 }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "data": { "state": "observed", "value": { "claimed_matches": true, "complete": true, "convergents": [ [ "1", "1" ], [ "3", "2" ] ], "missing": [], "period": [ 2 ], "period_length": 1, "preperiod": [ 1 ] } } }, "type": "json" }