Array integer LCM

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

Compute the non-negative least common multiple of an array of canonical integer strings.

Use when you need to: array integer lcm · lcm of an array of integers · least common multiple of a list.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "values": [
    "4",
    "6",
    "10"
  ]
}

Response:

{
  "result": {
    "value": "60"
  }
}

How to call it

MCP

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

{
  "id": "array-integer-lcm",
  "version": "1.0.0",
  "input": {
    "values": [
      "4",
      "6",
      "10"
    ]
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/array-integer-lcm/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"values":["4","6","10"]}'

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

CLI

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

Get the client at /clients/cli/.