Skip to content
HALOWERK

Datenvertragswerk

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 [-1,1,-1]. Input prefix[i] represents a_(i+1); a0 is not supplied and the constant coefficient 1.

POST https://datenvertrag.halowerk.com/v1/invert-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 โ†’