Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/invert-sequence-prefix

Apply the forward INVERT transform to a fully captured signed integer sequence a1,...,aN. The result b1,...,bN is defined by 1+B(x)=1/(1-A(x)), where A(x)=a1*x+...+aN*x^N and coefficients are retained through degree N. Equivalently, b_n is the sum, over all ordered compositions of n, of the product of the corresponding input entries. For example, [1,1,1,1] maps to [1,2,4,8], and [-1,0,0] maps to [

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/invert-sequence-prefix

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/invert-sequence-prefix", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"claim":[],"prefix":[]}),
});
console.log(await res.json());

Example input

{
  "claim": [],
  "prefix": []
}