HF RL Explorer

Least Common Multiple of a Range

Least Common Multiple of a Range: a task in Terminal-Lego-15k (Harbor dataset). Write a JavaScript program that calculates the least common multiple (LCM) of all numbers within a given range.

The task

Write a JavaScript program that calculates the **least common multiple (LCM)** of all numbers within a given range.

Part of PrimeIntellect/Terminal-Lego-15k.