Zum Inhalt
HALOWERK

Datenvertragswerk

integer partition index audit

For supplied total n0..24, counts all nonincreasing positive-integer partitions and reconstructs zero-based lexicographically descending index. Returns full chosen partition, its Ferrers conjugate and complete skipped/selected branch-count rank trace. n0 has one empty partition. Out-of-range known index is a known negative; null n/index/claim preserves unknown. Whole count and chosen-partition claim compared. Does not permute a fixed symbol multiset, sample partitions or infer empirical.

POST https://datenvertrag.halowerk.com/v1/integer-partition-index-audit

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
nSiehe SchemaJa
indexSiehe SchemaJa
claimedSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "n": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 24
        },
        {
          "type": "null"
        }
      ]
    },
    "index": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 2000
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "partition": {
              "type": "array",
              "items": {
                "type": "integer",
                "minimum": 1,
                "maximum": 24
              },
              "maxItems": 24
            },
            "partition_count": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2048
            }
          },
          "required": [
            "partition",
            "partition_count"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "n",
    "index",
    "claimed"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "n": 4,
  "index": 2,
  "claimed": {
    "partition": [
      2,
      2
    ],
    "partition_count": 5
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →