ToolAssay

Reconstruct the complete AFFINE FLOOR-SUM lattice ledger for original integers n

Reconstruct the complete AFFINE FLOOR-SUM lattice ledger for original integers n0..8,m1..8,a0..8,b0..8. For each original column i=0..n-1, quotients[i]=floor((a*i+b)/m) and remainders[i]=a*i+b-m*quotients[i], with0<=remainder<m. prefix_sums contains n+1 entries: prefix_sums[0]=0 and prefix_sums[k]=SUM for i0..k-1 of quotients[i]. total=prefix_sums[n]. Equivalently total counts ALL integer pairs(i,y) with0<=i<n and1<=y and m*y<=a*i+b; boundary points INCLUDED and y=0 EXCLUDED.

Answeringour last check, 2026-11-28
5 of 5checks answered this week
915 msmedian answer time
$0.003listed price per call
$0.003price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://datenvertrag.halowerk.com/v1/affine-floor-sum-lattice-ledger

CategoryEverything else
Provider hostdatenvertrag.halowerk.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-28 valid payment request 402$0.003 920 ms
2026-11-27 valid payment request 402$0.003 914 ms
2026-11-26 valid payment request 402$0.003 874 ms
2026-11-25 valid payment request 402$0.003 920 ms
2026-11-24 valid payment request 402$0.003 915 ms

Example input (from the provider)

{
  "body": {
    "a": 0,
    "b": 0,
    "claim": {
      "prefix_sums": [
        0
      ],
      "quotients": [],
      "remainders": [],
      "total": 0
    },
    "m": 1,
    "n": 0
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "a": {
              "anyOf": [
                {
                  "maximum": 8,
                  "minimum": 0,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "b": {
              "anyOf": [
                {
                  "maximum": 8,
                  "minimum": 0,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "claim": {
              "anyOf": [
                {
                  "additionalProperties": false,
                  "properties": {
                    "prefix_sums": {
                      "items": {
                        "maximum": 288,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "maxItems": 9,
                      "minItems": 1,
                      "type": "array"
                    },
                    "quotients": {
                      "items": {
                        "maximum": 64,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "maxItems": 8,
                      "minItems": 0,
                      "type": "array"
                    },
                    "remainders": {
                      "items": {
                        "maximum": 7,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "maxItems": 8,
                      "minItems": 0,
                      "type": "array"
                    },
                    "total": {
                      "maximum": 289,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "quotients",
                    "remainders",
                    "prefix_sums",
                    "total"
                  ],
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ]
            },
            "m": {
              "anyOf": [
                {
                  "maximum": 8,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "n": {
              "anyOf": [
                {
                  "maximum": 8,
                  "minimum": 0,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "n",
            "m",
            "a",
            "b",
            "claim"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON