Summing digits et al.