第 1150 题:(2023 AMC 12b, 7)
For how many integers $n$ does the expression \[\sqrt{\frac{\log (n^2) - (\log n)^2}{\log n - 3}}\] represent a real number, where log denotes the base $10$ logarithm?
$\textbf{(A)}\ 900$ $\textbf{(B)}\ 3$ $\textbf{(C)}\ 902$ $\textbf{(D)}\ 2$ $\textbf{(E)}\ 901$
- With $L=\log n$: we need $\frac{L(2-L)}{L-3}\ge0$ and $L\ne3$.
- Since $\log n$ must be defined, $n\ge1$ and $L\ge0$. The fraction is $0$ at $L=0$ and $L=2$; for $0<L<2$ it is negative (numerator positive, denominator negative); for $2<L<3$ it is positive; for $L>3$ it is negative. So $L=0$, $L=2$, or $2<L<3$, that is, $n=1$, $n=100$, and $n=101,\dots,999$.
- That is $901$ integers. The answer is (E).
For how many integers $n$ does $\sqrt{\dfrac{\log(n^3)-(\log n)^2}{\log n-4}}$ represent a real number (base-$10$ logarithm)?