By submitting the following form, you agree to Club Z!'s Terms of Use and Privacy Policy
A digit sum s_b(n) is a sum of the base-b digits of n, which can be implemented in the Wolfram Language as DigitSum[n_, b_:10] := Total[IntegerDigits[n, b]] The following table gives s_b(n) for n = 1, 2, ... and small b.
casting out nines | digit | digital root | digit block | digit count | digit product | divisibility tests
Back to List | POWERED BY THE WOLFRAM LANGUAGE