easy solution - when you have the correct loop order
Merge branch 'master' of github.com:vvolkl/projecteuler