Problem 811: (2022 AMC 10a, 7; 2022 AMC 12a, 4)
The least common multiple of a positive integer $n$ and $18$ is $180$, and the greatest common divisor of $n$ and $45$ is $15$. What is the sum of the digits of $n$?
$\textbf{(A)}\ 3 \qquad \textbf{(B)}\ 6 \qquad \textbf{(C)}\ 8 \qquad \textbf{(D)}\ 9 \qquad \textbf{(E)}\ 12$
- $\operatorname{lcm}(n,18)=180=2^2\cdot3^2\cdot5$ gives $v_2(n)=2$, $v_3(n)\le2$, $v_5(n)=1$, and no other primes.
- $\gcd(n,45)=15$ gives $v_3(n)=1$ and $v_5(n)\ge1$.
- So $n=4\cdot3\cdot5=60$, with digit sum $6$. The answer is (B).
How many positive integers $n$ satisfy $\operatorname{lcm}(n,24)=360$ and $\gcd(n,75)=15$?