News for hackers. Stuff that matters.
Re:Ramanujan Surprises Again (2015) by nitrogen on Sunday February 16, 2020 @11:31PM (#22345619)
I'm terrible at discrete math so I'm not going to work it out, but I'm sure it would be possible to express that relationship in a way that it could adapt to other number bases, and then it might be easier to tell if there is something there.

(something like treating the digits as coefficients of a series of powers of the number base, defining a function f(b,n) that returns the sum of the digits of n in base b, setting that equal to the product of the forward and reverse representation of that result in base b, and seeing if the equation looks interesting)

E.g. you can use a similar technique to show why the finger counting method of multiplying by 9 works, or why multiples of 3 have digits that sum to a multiple of 3 (same for 9)

There are no comments on this comment yet.