{"uid":"cap_3vxoxQF912W4HZ7YHvaGr","slug":"multinomial-coefficient-calculator-c9993b88","name":"Multinomial Coefficient Calculator","description":"Multinomial coefficient (k1+k2+…)! / (k1! k2! …) — the number of ways to partition n = Σki items into labelled groups of the given sizes. The sum must be ≤ 20000.","url":"https://combinatorics.openverbs.com/v1/multinomial","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["groups"],"properties":{"groups":{"type":"array","items":{"type":"string","pattern":"^\\d+$"},"maxItems":256,"minItems":1,"description":"Group sizes as decimal strings; their sum must be ≤ 20000."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BmXaRCoSC8S49tx16lRZW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the multinomial coefficient (k1+k2+…)! / (k1! k2! …) — the number of ways to partition n items into labelled groups of specified sizes.","exampleAgentPrompt":"How many ways can 12 people be divided into labelled groups of 4, 5, and 3? Calculate the multinomial coefficient for those group sizes.","exampleUseCases":[{"title":"Team distribution planning","prompt":"I have 15 employees and I want to split them into three project teams of 5, 6, and 4 people — how many distinct ways can I do that? Calculate the multinomial coefficient for group sizes 5, 6, and 4."},{"title":"Letter arrangement counting","prompt":"How many distinct arrangements are there of the word MISSISSIPPI? That's groups of 1 M, 4 I's, 4 S's, and 2 P's — compute the multinomial coefficient for group sizes 1, 4, 4, 2."},{"title":"Probability denominator for large partition","prompt":"For a probability calculation, I need the multinomial coefficient for partitioning 100 items into groups of 30, 25, 20, 15, and 10 — can you compute that exact value?"}],"resultDescription":"Returns the exact multinomial coefficient as a large integer (likely as a decimal string given the potential for very large values), representing the number of distinct ways to partition n = Σki items into the specified labelled groups.","failureModes":["Sum of group sizes exceeds 20000 — returns an error","Empty or missing groups array — validation error","Non-integer or negative group sizes — schema rejection","Exceeds 256 groups limit — rejected by maxItems constraint","Network timeout on very large computations"],"whenToPreferThis":"Choose this endpoint when you need the exact multinomial coefficient for partitioning items into three or more labelled groups. For two-group partitions, the binomial coefficient endpoint on the same service may be simpler. For ordered arrangements, use the permutation endpoint. This endpoint handles sums up to 20000, making it suitable for large combinatorial problems that would overflow standard integer arithmetic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:34:21.850Z","isFirstParty":false}