datenvertrag.halowerk.com/v1/greedy-unit-fraction-expansion-ledger
For an original nonnegative proper rational with numerator0..8 and denominator1..64, reconstruct the entire Fibonacci-Sylvester greedy unit-fraction sequence, every reduced post-subtraction remainder, normalized original and independently recomposed exact sum. At each positive remainder choose the least denominator k with1/k<=remainder. Zero has a known empty expansion; reducible input normalized.
POST
https://datenvertrag.halowerk.com/v1/greedy-unit-fraction-expansion-ledgerUptime100% 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/greedy-unit-fraction-expansion-ledger", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"claimed_denominators":["2","4","20"],"denominator":5,"numerator":4}),
});
console.log(await res.json());Example input
{
"claimed_denominators": [
"2",
"4",
"20"
],
"denominator": 5,
"numerator": 4
}