$\sum_{i = 1}^n \sum_{j = 1}^n \frac{(i * j)}{GCD(i,j)^2}$
I stuck with this summation equation trying to simplify. First I thought is equal to lcm(i,j) but that doesn't solve it. I have till now solved summation with only one variable like n. But how to tackle problem like this.
The only simplification I can see is to write your formula as $$\sum_{i = 1}^n \sum_{j = 1}^n \frac{(i * j)}{\gcd(i,j)}=\sum_{i = 1}^n \sum_{j = 1}^n \operatorname{lcm}(i,j)$$ To see that $\frac{(i * j)}{\gcd(i,j)}=\operatorname{lcm}(i,j)$, consider the factors of some prime that divides $i$ or $j$. $\gcd(i,j)$ includes the minimum power of that prime between $i$ and $j$. $\operatorname{lcm}(i,j)$ contains the maximum power of that prime between $i$ and $j$, so their product has the same power as $ij$ does.
The double sum just says take all possible pairs of $i,j$, evaluate $\operatorname{lcm}(i,j)$ and add them up. If $n=3$ each of $i,j$ ranges from $1$ to $3$ and you have $9$ terms to add. We can put the terms in an array with $i$ being the row and $j$ being the column (but it is symmetric here) and they are $$\begin {array} {r r r}1&2&3\\2&2&6\\3&6&3 \end{array}$$
Adding all these numbers gives $28$, which is the third entry in the linked sequence.