What is n, in this product involving the floor function and lcm

48 Views Asked by At

The question involving the floor function, lcm and factorial

Let $$P=\prod_{k=1}^{2019} \operatorname{lcm}\left(1,2,\dots,\left\lfloor\frac{2019}k\right\rfloor\right).$$ Given that $P=n!$, find $n$.

This is the question provided, I do not really know how to approach this.