← Market

Calkin Wilf Rational Index Audit

Reconstruct the exact Calkin-Wilf positive rational tree bijection. Root1/1; left child a/(a+b), right(a+b)/b. Own heap-index convention root1,left2n,right2n+1. Reduce supplied positive numerator/denominator1..128 by gcd; return exact decimal-string index, complete root-to-target ancestors and L/R path. Independently decode supplied index1..65535 and return its same complete artifact, plus equality of the two reduced rational nodes.

POST https://datenvertrag.halowerk.com/v1/calkin-wilf-rational-index-audit

0.003 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.003 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "claimed_value": {
    "fraction_index": {
      "ancestors": [
        [
          1,
          1
        ],
        [
          2,
          1
        ],
        [
          2,
          3
        ]
      ],
      "index_decimal": "6",
      "path": "RL",
      "reduced": [
        2,
        3
      ]
    },
    "index_fraction": {
      "ancestors": [
        [
          1,
          1
        ],
        [
          2,
          1
        ],
        [
          2,
          3
        ]
      ],
      "index_decimal": "6",
      "path": "RL",
      "reduced": [
        2,
        3
      ]
    },
    "same_node": true
  },
  "fraction": [
    2,
    3
  ],
  "index": 6
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://datenvertrag.halowerk.com/v1/calkin-wilf-rational-index-audit · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "fraction": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 2,
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 128
          },
          "minItems": 2
        },
        {
          "type": "null"
        }
      ]
    },
    "index": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 65535
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed_value": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "fraction_index": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "reduced": {
                      "type": "array",
                      "maxItems": 2,
                      "items": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 65536
                      },
                      "minItems": 2
                    },
                    "path": {
                      "type": "string",
                      "pattern": "^[LR]*$",
                      "maxLength": 127
                    },
                    "index_decimal": {
                      "type": "string",
                      "pattern": "^[1-9][0-9]*$",
                      "maxLength": 39
                    },
                    "ancestors": {
                      "type": "array",
                      "maxItems": 128,
                      "items": {
                        "type": "array",
                        "maxItems": 2,
                        "items": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 65536
                        },
                        "minItems": 2
                      },
                      "minItems": 1
                    }
                  },
                  "required": [
                    "reduced",
                    "path",
                    "index_decimal",
                    "ancestors"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "index_fraction": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "reduced": {
                      "type": "array",
                      "maxItems": 2,
                      "items": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 65536
                      },
                      "minItems": 2
                    },
                    "path": {
                      "type": "string",
                      "pattern": "^[LR]*$",
                      "maxLength": 127
                    },
                    "index_decimal": {
                      "type": "string",
                      "pattern": "^[1-9][0-9]*$",
                      "maxLength": 39
                    },
                    "ancestors": {
                      "type": "array",
                      "maxItems": 128,
                      "items": {
                        "type": "array",
                        "maxItems": 2,
                        "items": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 65536
                        },
                        "minItems": 2
                      },
                      "minItems": 1
                    }
                  },
                  "required": [
                    "reduced",
                    "path",
                    "index_decimal",
                    "ancestors"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "same_node": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "required": [
            "fraction_index",
            "index_fraction",
            "same_node"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "fraction",
    "index",
    "claimed_value"
  ],
  "additionalProperties": false
}
curl -i -X POST 'https://datenvertrag.halowerk.com/v1/calkin-wilf-rational-index-audit' \
  -H 'content-type: application/json' -d '{"fraction":[2,3],"index":6,"claimed_value":{"fraction_index":{"reduced":[2,3],"path":"RL","index_decimal":"6","ancestors":[[1,1],[2,1],[2,3]]},"index_fraction":{"reduced":[2,3],"path":"RL","index_decimal":"6","ancestors":[[1,1],[2,1],[2,3]]},"same_node":true}}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)