Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/latin-bitrade-switch-family

For two fully captured Latin squares LEFT and RIGHT of the SAME order n1..4, reconstruct EVERY NONEMPTY cellmask on which replacing LEFT entries by RIGHT preserves a Latin square. Each original is a flat rowmajor n*n array with symbols0..n-1, each symbol once per row/column; LEFT is REDUCED: its first row AND first column must be0..n-1. RIGHT need not be reduced. ORIGINAL labels are retained; no a

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/latin-bitrade-switch-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/latin-bitrade-switch-family", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"claim":{"count":0,"hybrid_squares":[],"minimal_masks":[],"switch_masks":[]},"left":[0],"n":1,"right":[0]}),
});
console.log(await res.json());

Example input

{
  "claim": {
    "count": 0,
    "hybrid_squares": [],
    "minimal_masks": [],
    "switch_masks": []
  },
  "left": [
    0
  ],
  "n": 1,
  "right": [
    0
  ]
}