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
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
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"
}