First of all , you can't start from i=0, as it will give divide by 0 error.
Now, modifying the problem to start from i=1.
Since, the innermost loop will be executed, only when j is a multiple of i.
So, for i = 1, the inner most loop will execute 1 times.
Total = 1
For i =2 , the innermost loop will execute for j=2,4
For j = 2 : it will execute 2 times
For j = 4 : it will execute 4 times.
Total = (2 + 4)
For i = 3, the innermost loop will execute for j = 3,6,9
For j = 3, it will execute 3 times
For j = 6, it will execute 6 times
For j = 9, it will execute 9 times.
Total = 3 + 6 + 9
Now, you can observe the pattern.
For i = m, the innermost loop will execute m times, for values of j = m, 2m, 3m, ... , m2
It's an arithmetic progression, so, total = $\frac{m}{2}$(m + m2)
Now, for i = 1, to n, take the summation of this.
$\sum_{m=1}^{n}\frac{m}{2}(m+m^{2}) = \sum \frac{m^{3}}{2} + \sum \frac{m^{2}}{2} = O(n^{4})$