Observing the three numbers for right hand side of the equalities:
The first equality, whose biggest number on the LHS is 1, has 1, 1 and 1 as the three numbers.
The second equality, whose biggest number on the LHS is 2, has 2, 2 and 1 as the three numbers.
The third equality, whose biggest number on the LHS is 3, has 3, 3 and 1 as the three numbers.
The fourth equality, whose biggest number on the LHS is 4, has 4, 4 and 1 as the three numbers.
Hence, if the biggest number on the LHS is n, the three numbers on the RHS will be n, n and 1.
Using this property, we can calculate the sums for (i) and (ii) as follows:
(ii) The sum can be expressed as the difference of the two sums as follows:
The result of the first bracket is exactly the same as in part (i).
Then, the second bracket:
= 465
Finally, we have: