Skip to content
HALOWERK

Datenvertragswerk

binomial sequence prefix

Constructs the entire forward positive binomial transform of one signed prefix a0,.,aL-1 with L in 0..7 and each entry -1, 0 or 1. The exact map is b_n = SUM for k in 0..n of binomial(n,k)*a_k, for every n in 0..L-1 in original order. An empty prefix maps to []; a0 is captured, not an implicit 1, and trailing zeros are retained. This is the forward positive sum, not the signed inverse: (-1)^(n-k) is not used.

POST https://datenvertrag.halowerk.com/v1/binomial-sequence-prefix

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
prefixSee schemaYes
claimSee schemaYes
Show full input schema
{
  "type": "object",
  "properties": {
    "prefix": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": -1,
            "maximum": 1
          },
          "minItems": 0,
          "maxItems": 7
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": -1000,
            "maximum": 1000
          },
          "minItems": 0,
          "maxItems": 7
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "prefix",
    "claim"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

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

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’