lcm
Calculate the least common multiple of two numbers to find the smallest positive integer divisible by both values.
Instructions
Calculate the least common multiple of two numbers
Input Schema
Name | Required | Description | Default |
---|---|---|---|
a | Yes | ||
b | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"a": {
"type": "number"
},
"b": {
"type": "number"
}
},
"required": [
"a",
"b"
],
"type": "object"
}