Integer factorial

integer-factorial · version 1.0.0 · Numbers & math · free, no key needed

Compute n! (n factorial) exactly for a bounded non-negative integer n.

Use when you need to: integer factorial · n factorial · compute n!.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "n": 10
}

Response:

{
  "result": {
    "value": "3628800"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "integer-factorial",
  "version": "1.0.0",
  "input": {
    "n": 10
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/integer-factorial/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"n":10}'

The machine-readable contract is at /v1/tools/integer-factorial/versions/1.0.0.

CLI

node cli.mjs run integer-factorial 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.