Digital root: Difference between revisions

no edit summary
No edit summary
Line 630:
end
</lang>
{{out}}
 
<pre>
670033 has additive persistence 3 and digital root 1
39390 has additive persistence 2 and digital root 6
588225 has additive persistence 2 and digital root 3
393900588225 has additive persistence 2 and digital root 9
</pre>
=={{header|Erlang}}==
Using [[Sum_digits_of_an_integer]].
8

edits