Remix.run Logo
jeffbee 12 hours ago

> summing up their digits recursively gives 3 6 or 9

What does this part mean? For example 57.

zdimension 12 hours ago | parent | next [-]

57 is 3 times 19.

The standard divisibility rule for 3, 6 and 9 in base 10 is to sum the digits until you only have one left and check if it's one of those. Here, 5+7=12, 1+2=3, so 57 is divisible by 3.

squigz 3 hours ago | parent | next [-]

Math is not my strong suit at all, so I probably won't grok this, but that kind of blows my mind, so I'm curious... how?! That works for any arbitrarily large number?

Math is crazy!... still don't want to study it though!

jeffbee 12 hours ago | parent | prev [-]

Ah I see what is meant by recursively here. Thanks!

hollerith 12 hours ago | parent | prev [-]

5 plus 7 is 12, which of course has a 1 and a 2, the sum of which is 3.