Overview
For an original permutation P of0..n-1,n0..7, follow directed map cycles, rotate each cycle to its largest value, order cycles by increasing largest value, and erase parentheses. Return that entire transformed word, all canonical cycles, zero-based left-to-right record positions and the inverse permutation obtained by closing the record blocks. Include singleton cycles; empty input maps to empty word.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
datenvertrag
Indexed
2026-11-24 12:32:32
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"claim": [
3,
0,
2,
4,
1
],
"permutation": [
2,
4,
3,
0,
1
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"state": "observed",
"value": {
"claimed_matches": true,
"complete": true,
"cycle_count": 2,
"cycles": [
[
3,
0,
2
],
[
4,
1
]
],
"inverse_permutation": [
2,
4,
3,
0,
1
],
"missing": [],
"record_positions": [
0,
3
],
"word": [
3,
0,
2,
4,
1
]
}
}
},
"type": "json"
}