AMC 12 2023 B Problem 7

For how many integers n does the expression

\sqrt{\dfrac{\log \left(n^{2}\right)-(\log n)^{2}}{\log n-3}}

represent a real number, where log denotes the base 10 logarithm?

Answer Choices
A. 900
B. 2
C. 902
D. 2
E. 901