Digital sum in base b

ID: digital-sum-in-base-b

The digital sum of a number in base \( b \) refers to the sum of its digits when the number is expressed in that base. This concept is similar to finding the digit sum in base 10, but the digits are calculated according to the specified base. For example, let's say we want to calculate the digital sum of the number 345 in base 10.

New to topics? Read the docs here!