Let $n$ be a positive integer, and let $ 1=d_1<d_2<\dots <d_6=n $ be all of its divisors. Find all $n$ that satisfy $ \frac 1{d_1} +\frac 1{d_2} + \dots + \frac 1{d_6 } = 2. $
I started by noting $n=a^2b$ where $a,b$ are primes, and tried to manipulate the second equation. Not getting anywhere
solution would help.