Math not quite right in the loop

Printable View