DEV Community

Discussion on: Turning 38 into 2: How to Solve the Add Digits Problem

Collapse
 
salyadav profile image
Saloni Yadav

Hey man! This is new, I see this works! Could you please explain (or refer to) the math behind this or how this works as a modulo 9? Thanks!

Collapse
 
kebby profile image
Tammo 'kb' Hinrichs

I can’t really explain it in a few words but I hope this helps: flyingcoloursmaths.co.uk/a-neat-nu... :)