Problem 1837 · Easy
Sum the digits of n in base k without converting to decimal text.
Open the interactive visualisation