(I) $\sum^5_{i=1}i \times \sum^5_{j=1}j = 1 \times (1) +1 \times (2) + \cdots +1\times (5) +2\times (1)+2\times (2) +\cdots + 2\times (5) + 3\times (1) + 3\times (2) + \cdots +3\times (5) + 4\times (1) +\cdots +4\times (5) + 5\times (1) + \cdots 5\times (5)$
(II) $\sum\sum^5_{0<i<j\leq 5} ij = 1 \times (2) + 1 \times (3) \cdots +1\times (5) +2\times (3) +\cdots + 2\times (5) + 3\times (4) + 3\times (5) + 4\times (5) $
Is the above summation correct please suggest if there is any correction required thanks.
The first sum is correct.
The second sum can be rewritten as follows:
$\displaystyle \sum_{i=1}^4 \sum_{j=i+1}^5 ij$, and it gives the same result as yours.