Overview
For base2..10 enumerate the ENTIRE fixed4digit integer state space0..base^4-1, always retaining leadingzeros in digit extraction. Kaprekar transition sorts allfourdigits descending minus ascending, evaluated in that base. Return every attractorcycle in actual transition order rotated to minimum integer first, rows sorted by thatfirstmember; exact basin_size and counts by minimum steps until entering its cycle, with cyclemembers atdepth0. Allstates including repeated-digit zero basin included.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
datenvertrag
Indexed
2026-11-24 12:32:44
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"base": 10,
"claimed_basins": [
{
"basin_size": 10,
"cycle": [
0
],
"depth_counts": [
1,
9
]
},
{
"basin_size": 9990,
"cycle": [
6174
],
"depth_counts": [
1,
383,
576,
2400,
1272,
1518,
1656,
2184
]
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"state": "observed",
"value": {
"base": 10,
"basin_count": 2,
"basins": [
{
"basin_size": 10,
"cycle": [
0
],
"depth_counts": [
1,
9
]
},
{
"basin_size": 9990,
"cycle": [
6174
],
"depth_counts": [
1,
383,
576,
2400,
1272,
1518,
1656,
2184
]
}
],
"claimed_matches": true,
"complete": true,
"missing": [],
"state_count": 10000,
"width": 4
}
}
},
"type": "json"
}