I've never worked with equations that contains floor. I wonder how would you solve $$a\left(\big \lfloor\frac {a} {2\pi}\big \rfloor + 1\right) = 100$$
I looked it up in the internet but I don't get it. So what I found was that, lets say $\lfloor\frac {a} {2\pi}\rfloor$ is equal to $n$ and $$ n \le \frac {a} {2\pi} < n+1$$ and also $a(n+1) = 100$ but I can't continue from here. is there some way to calculate floor for general $a$ because I'm looking for value of $a$
$a$ is an integer
I got that I can try different variations like (100, 1), (50, 2), (25, 4) and (20, 5) and only 25 works but because I haven't solved an equation with floor function I want to know the techniques to solve it more mathematically and how it's done in general.
We have $$\frac{a}{2\pi} < \left\lfloor \frac{a}{2\pi}\right\rfloor+1<\frac{a}{2\pi}+1$$
If $a>0$, then multiplying everything by $a$ gives $$\frac{a^2}{2\pi} < 100 < \frac{a^2}{2\pi}+a$$
The two inequalities can be solved to give $$\sqrt{200\pi + \pi^2} - \pi<a<\sqrt{200\pi}$$
or approximately $$22.1<a<25.1$$
We can either check the three integers in this range or just note the only factor of $100$ here is $a=25$.
If $a<0$, the inequalities become $$\frac{a^2}{2\pi} > 100 > \frac{a^2}{2\pi}+a$$
and in a similar way to the above, we can check that there are no negative solutions.