Sum of digits in all numbers from 1 to n | ScratchStats