Verilog assigning fractional value to integer
Whenever there's a decimal in an integer variable, it typically floors the value. So if the answer is like 8.25 for i=1, the answer would actually just be 8. Then at i=2, the answer will be 16.5 but with the integer variable will make it 16. And so forth.

You could also execute the code and see what it does :)