copy sum from project-euler repo
dureport