The problem from some math competition (multiple-choice test):
Consider an equation $\lfloor\sqrt{12}x\rfloor=\lfloor\frac{7}{2}x\rfloor$, where $\lfloor x\rfloor$ denotes integer part of $x$ (entier). This equation:
A. has exactly 1 real solution
B. for $x>150$ has at least 1 integer solution
C. has exactly 28 integer solutions
D. has at least 7 natural solutions
My try:
I found out that there are 15 integer solutions:
-14, -12, -10, -8, -6, -4, -2, 0, 1, 3, 5, 7, 9, 11, 13
So I answered "D". However it turned out that it is not correct. I have no idea why. Can anyone help? Thanks in advance. :)
for(var x=-100;x<=100;x++) if(Math.floor(Math.sqrt(12)*x) == Math.floor(7/2*x)) console.log(x);There are 28 solutions between -26 to 13. – JiminP Dec 18 '13 at 20:07