Find all the numbers $n$ $\in$ $\Bbb Z^+$ such that:
$$\left\lfloor\frac{n}{2}\right\rfloor \cdot \left\lfloor \frac{n}{3} \right\rfloor \cdot \left\lfloor \frac{n}{4} \right\rfloor = n^2$$
I never worked before with floor function so i'm not completely sure how to solve this. I think (only because $n$ $\in$ $\Bbb Z^+$), i can just multiply (skipping the floor function) and get the answer of $n=24$, but this is floor function so i don't know if there are more solutions.
Any hints?
You already ofund a solution $n=24$. For $n<24$, we have $$ \left\lfloor\frac n2\right\rfloor \left\lfloor\frac n3\right\rfloor\left\lfloor\frac n4\right\rfloor\le \frac n{24}\cdot n^2<n^2.$$ For $n\ge 30$, we have $$\begin{align}\left\lfloor\frac n2\right\rfloor \left\lfloor\frac n3\right\rfloor\left\lfloor\frac n4\right\rfloor -n^2&\ge\frac{n-1}2\frac{n-2}3\frac{n-3}4-n^2\\&=\frac{n^3-30n^2+11n-6}{24}\\&\ge\frac{11n-6}{24}\\&>0.\end{align}$$ Hence we need at most check $25\le n\le 29$.
To simplify checks for these cases, note that $\left\lfloor\frac n2\right\rfloor$, $ \left\lfloor\frac n3\right\rfloor$, $\left\lfloor\frac n4\right\rfloor$ are three distinct integers $\ge 6$. As $29^2$ and $5^4$ cannot be written as product of three distinct integers $\>1$, we can exclude $n=29$ and $n=25$. For $3^6$, the only way to write it as product of three distinct integers is as $3\cdot 9\cdot 27$, but $3<6$, so we can exclude $n=27$ as well. For $n=26$, we see that only one of the three factors is a multiple of $13$, so this can be ruled out as well. Fially, for $n=28$, $\lfloor \frac n3\rfloor=9$, but $28^2$ is not a multiple of $3$.