{"uid":"cap_dBW9AX1ydg9E3tz020mj5","slug":"combinatorics-openverbs-factorial-calculator-e61fe949","name":"Combinatorics OpenVerbs Factorial Calculator","description":"Exact factorial n! for 0 ≤ n ≤ 20000, returned as a decimal string with its digit count.","url":"https://combinatorics.openverbs.com/v1/factorial","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":["n"],"properties":{"n":{"type":"string","pattern":"^\\d+$","description":"Non-negative integer ≤ 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_suOGUhXADqCV33p5DBJoY","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 exact factorial n! for any integer 0 ≤ n ≤ 20000, returning the full decimal string and digit count.","exampleAgentPrompt":"Can you calculate the exact factorial of 1000 — I need the full decimal number and how many digits it has?","exampleUseCases":[{"title":"Cryptographic key space estimation","prompt":"What is the exact value of 256 factorial, and how many digits does it have? I need the precise decimal string for a key space analysis."},{"title":"Large combinatorics verification","prompt":"Compute 10000! exactly and tell me its digit count — I'm verifying a combinatorics formula result and need the precise number."},{"title":"Educational factorial demonstration","prompt":"What is 20! written out as a full decimal number? I'm preparing a math lesson and want to show students the exact value."}],"resultDescription":"Returns the exact factorial value as a full decimal string (no scientific notation or approximation) along with the total digit count of the result, covering inputs from 0 through 20000.","failureModes":["n exceeds 20000 — request rejected with validation error","n is not a non-negative integer string — schema validation failure","malformed or missing 'n' field in request body — 400-level error","payment not provided or insufficient — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need the exact, full-precision factorial of a large integer (up to 20000) as a decimal string rather than a floating-point approximation. Ideal for combinatorics proofs, cryptographic analysis, or any context where scientific notation is insufficient and digit-perfect accuracy is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:41:21.275Z","isFirstParty":false}