« first day (457 days earlier)      last day (767 days later) » 

@DJMcMayhem Ermagherrrrrd...
 
3:45 PM
That's what I thought
 
 
2 hours later…
5:38 PM
So inspired by a recent CMC in TNB, I have a question that maybe you math nerds/geniuses could help with. 3 and 9 have interesting modular properties in base 10. The sum of the digits of any factor of 3 or 9 will always be another factor of 3 or 9. Now it's pretty obvious why this works for 9, because in base b=10, 9 is b-1. And this works for other bases (multiples of 4 in base 5 sum to factors of 4 for example).
But why does this work for 3? Is it because it's the root of b-1 or because it's the root of b-1 or because it's a factor?
 
$\sum_i a_i×b^i (\mod n)$ if we want that to equal $\sum_i a_i (\mod n)$ (so that the position of digits don't matter), then $b^i ≡ 1 (\mod n)$
when i=1, $b≡1 (\mod n)$ so $b-1 ≡ 0 (\mod n)$
we could test this for base 16 and n=3,5
 
@DJMcMayhem because it's a factor
 
The difference will be zero mod d whenever d is a divisor of b-1, which is a divisor of b^i-1.
 
5:59 PM
why do you subtract the digitsum from the number?
what is that supposed to represent?
 
a-b is zero mod d iff a and b are congruent mod d.
 
ah I see
 
So the above proves that a positive integer is congruent mod d to its digit sum in base b whenever d divides b-1.
 

« first day (457 days earlier)      last day (767 days later) »