CACrown ArchivesThe cinema collection
Menu
Research dossier · General Reference

Digit sum

sum of a number's digits

Cross-disciplinary reference desk with index cards, atlas, dictionary and catalogue
General referenceInterpretive dossier study · Crown Archives visual atlas
Record originEnglish Wikipedia
Text licenseCC BY-SA 4.0
Source revisionSep 9, 2026
Entity authorityQ1363568
Source-derived summary

In mathematics, the digit sum of a natural number in a given number base is the sum of all its digits. For example, the digit sum of the decimal number

9045

{\displaystyle 9045}

would be

9

+

0

+

4

+

5

=

18.

{\displaystyle 9+0+4+5=18.}

Definition

Let

n

{\displaystyle n}

be a natural number. We define the digit sum for base

b

>

1

{\displaystyle b>1}

,

F

b

:

N

N

{\displaystyle F_{b}:\mathbb {N} \rightarrow \mathbb {N} }

to be the following:

F

b

(

n

)

=

i

=

0

k

d

i

{\displaystyle F_{b}(n)=\sum _{i=0}^{k}d_{i}}

where

k

=

log

b

n

{\displaystyle k=\lfloor \log _{b}{n}\rfloor }

is one less than the number of digits in the number in base

b

{\displaystyle b}

, and

d

i

=

n

mod

b

i

+

1

n

mod

b

i

b

i

{\displaystyle d_{i}={\frac {n{\bmod {b^{i+1}}}-n{\bmod {b}}^{i}}{b^{i}}}}

is the value of each digit of the number.

For example, in base 10, the digit sum of 84001 is

F

10

(

84001

)

=

8

+

4

+

0

+

0

+

1

=

13.

{\displaystyle F_{10}(84001)=8+4+0+0+1=13.}

For any two bases

2

b

1

<

b

2

{\displaystyle 2\leq b_{1}<b_{2}}

and for sufficiently large natural numbers

n

,

{\displaystyle n,}

k

=

0

n

F

b

1

(

k

)

<

k

=

0

n

F

b

2

(

k

)

.

{\displaystyle \sum _{k=0}^{n}F_{b_{1}}(k)<\sum _{k=0}^{n}F_{b_{2}}(k).}

The sum of the base 10 digits of the integers 0, 1, 2, ... is given by OEIS: A007953 in the On-Line Encyclopedia of Integer Sequences. Borwein & Borwein (1992) use the generating function of this integer sequence (and of the analogous sequence for binary digit sums) to derive several rapidly converging series with rational and transcendental sums.

Extension to negative integers

The digit sum can be extended to the negative integers by use of a signed-digit representation to represent each integer.

Editorial summary

The public source identifies “Digit sum” as sum of a number's digits. This brief keeps that definition visible, then builds a research path around Digit, number's and digits.

Editorial reviewA concise reference frame for defining the subject, testing terminology and identifying the institution closest to the evidence. The current lead gives the account dated anchors—1992—that can be checked directly. The selected authority fields contribute no independent date. Its value is orientation rather than verdict, with Digit, number's and digits providing the first useful test.
Editorial analysis

Why this record matters

A short description can identify a subject without explaining its stakes. For “Digit sum”, the useful work is to connect “sum of a number's digits” to the records capable of establishing context and consequence.

Evidence profile

The citation trail is more important than the brevity of the summary: it shows where individual claims can be examined in context. The source revision retrieved here is dated Sep 9, 2026. The linked authority identifier is Q1363568. None of the 0 selected statements returned an explicit reference. The first chronological checks are 1992.

Critical limits

Overview language is designed for orientation and should not be treated as a substitute for the evidence cited beneath it. The lead is largely declarative, so disagreement and counter-evidence require a deliberate search beyond the opening account. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.

How to read it

Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.

Best used for
  • Subject orientation
  • Search vocabulary
  • Locating named sources
Verify next

The closest primary source, responsible institution and strongest cited specialist reference.

Three-step research path

  1. Establish the record: confirm the title “Digit sum”, its source revision and the description used here.
  2. Expand the search: follow Digit sum primary sources, Digit sum archive and Digit research across catalogues and specialist indexes.
  3. Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.

Questions for further research

  1. Which source most directly establishes the central claim about “Digit sum”?
  2. Which cited source is closest to the event, object or claim?
  3. Which institution is responsible for the underlying evidence?
Subject index

Search terms from this dossier

Source & attribution

This entry incorporates text from Digit sum” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.