Note that
181804515=2⋅32,=22⋅32⋅5,=32⋅5=3⋅5.
Let n=2a⋅3b⋅5c. It follows that:
From the least common multiple condition, we have lcm(n,18)=lcm(2a⋅3b⋅5c,2⋅32)=2max(a,1)⋅3max(b,2)⋅5max(c,0)=22⋅32⋅5, from which a=2,b∈{0,1,2}, and c=1.
From the greatest common divisor condition, we have gcd(n,45)=gcd(22⋅3b⋅5,32⋅5)=2min(2,0)⋅3min(b,2)⋅5min(1,1)=3⋅5, from which b=1.
Together, we conclude that n=22⋅3⋅5=60. The sum of its digits is 6+0=(B) 6.
~MRENTHUSIASM ~USAMO333