Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/ramanujan-gcd-class-projection

For an original period vector length1..12 with integers-16..16 at positions0..n-1, project onto the subspace constant on gcd(position,n) classes. Return every positive divisor q of n in ascending order,phi(q),the whole integer Ramanujan-sum basis row c_q(j), exact reduced rational expansion coefficients, projected vector and residual x-projection, with is_gcd_even iff residualzero. Position0 repre

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/ramanujan-gcd-class-projection

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/ramanujan-gcd-class-projection", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"claimed_transform":{"coefficients":[{"den":6,"num":13},{"den":6,"num":1},{"den":6,"num":1},{"den":3,"num":-1}],"projected":[{"den":1,"num":2},{"den":2,"num":3},{"den":2,"num":5},{"den":1,"num":3},{"den":2,"num":5},{"den":2,"num":3}],"residual":[{"den":1,"num":0},{"den":2,"num":-5},{"den":2,"num":5},{"den":1,"num":0},{"den":2,"num":-5},{"den":2,"num":5}]},"signal":[2,-1,5,3,0,4]}),
});
console.log(await res.json());

Example input

{
  "claimed_transform": {
    "coefficients": [
      {
        "den": 6,
        "num": 13
      },
      {
        "den": 6,
        "num": 1
      },
      {
        "den": 6,
        "num": 1
      },
      {
        "den": 3,
        "num": -1
      }
    ],
    "projected": [
      {
        "den": 1,
        "num": 2
      },
      {
        "den": 2,
        "num": 3
      },
      {
        "den": 2,
        "num": 5
      },
      {
        "den": 1,
        "num": 3
      },
      {
        "den": 2,
        "num": 5
      },
      {
        "den": 2,
        "num": 3
      }
    ],
    "residual": [
      {
        "den": 1,
        "num": 0
      },
      {
        "den": 2,
        "num": -5
      },
      {
        "den": 2,
        "num": 5
      },
      {
        "den": 1,
        "num": 0
      },
      {
        "den": 2,
        "num": -5
      },
      {
        "den": 2,
        "num": 5
      }
    ]
  },
  "signal": [
    2,
    -1,
    5,
    3,
    0,
    4
  ]
}