Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/word-shuffle-coefficient-family

For two supplied binary words of length0..4, construct their full non-overlapping shuffle product: every length-additive word preserving each original as an ordered subsequence, with exact number of left/right interleavings producing it. Sort distinct words lexicographically; return length, distinct count, total interleaving count and lexicographically smallest origin bitword per spelling (0=left,

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/word-shuffle-coefficient-family

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://datenvertrag.halowerk.com/v1/word-shuffle-coefficient-family", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"claim":[{"coefficient":1,"word":"0101"},{"coefficient":2,"word":"0110"},{"coefficient":2,"word":"1001"},{"coefficient":1,"word":"1010"}],"left":"01","right":"10"}),
});
console.log(await res.json());

Example input

{
  "claim": [
    {
      "coefficient": 1,
      "word": "0101"
    },
    {
      "coefficient": 2,
      "word": "0110"
    },
    {
      "coefficient": 2,
      "word": "1001"
    },
    {
      "coefficient": 1,
      "word": "1010"
    }
  ],
  "left": "01",
  "right": "10"
}