← Back to directory

For an original permutation of0..n-1,n0..7, construct the whole Foata second fun...

https://datenvertrag.halowerk.com/v1/foata-major-inversion-bijection-ledger

Overview

For an original permutation of0..n-1,n0..7, construct the whole Foata second fundamental bijection Phi, transforming source majorindex into image inversionnumber. Startingempty, append eachnewletter after blockrotation: if newletter exceeds currentlast, cutaftereachsmallerletter, otherwiseaftereachlargerletter; rotateeachblocklastlettertofront beforeappendingnewletter.

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

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": [ 3, 4, 0, 1, 2 ], "permutation": [ 0, 3, 1, 4, 2 ] }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "data": { "state": "observed", "value": { "claimed_matches": true, "complete": true, "descent_positions": [ 2, 4 ], "image": [ 3, 4, 0, 1, 2 ], "image_inversions": 6, "missing": [], "prefix_images": [ [], [ 0 ], [ 0, 3 ], [ 3, 0, 1 ], [ 3, 0, 1, 4 ], [ 3, 4, 0, 1, 2 ] ], "source_major": 6 } } }, "type": "json" }