ArticleslgStudy

mathematics

Digital root

Digital root is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Digital root rather than just read about it. In short: The digital root (also repeated digital sum) of a natural number in a given radix is the (single digit) value obtained by an iterative process of summing digits, on each iteration using the result from the previous iteration to compute a digit sum. The process continues until a single-digit number is reached.

Key takeaways

  • Digital root belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Digital root to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Digital root from memory before moving on to harder problems.

Reference excerpt

The digital root (also repeated digital sum) of a natural number in a given radix is the (single digit) value obtained by an iterative process of summing digits, on each iteration using the result from the previous iteration to compute a digit sum. The process continues until a single-digit number is reached. For example, in base 10, the digital root of the number 12345 is 6 because the sum of the digits in the number is 1 + 2 + 3 + 4 + 5 = 15, then the addition process is repeated for the resulting number 15, so that the sum of 1 + 5 equals 6, which is the digital root of that number. In base 10, this is equivalent to taking the remainder upon division by 9 (except when the digital root is 9, where the remainder upon division by 9 will be 0), which allows it to be used as a divisibility rule. Generally, the digital root computed in integer base b ≥ 2 of a non-negative integer n satisfies

drb(n)={0n=01+((n−1)mod(b−1))n>0.

Formal definition Let n be a natural number. For base b>1, we define the digit sum Fb:ℕ→ℕ to be the following:

Fb(n)=∑i=0k−1di where k=⌊logbn⌋+1 is the number of digits in the number in base b, and

di=nmodbi+1−nmodbibi is the value of each digit of the number. A natural number n is a digital root if it is a fixed point for Fb; that is, when Fb(n)=n. All natural numbers n are preperiodic points for Fb, regardless of the base. This is because if n≥b, then

n=∑i=0k−1dibi and therefore

Fb(n)=∑i=0k−1di<∑i=0k−1dibi=n because b>1. If n<b, then trivially

Fb(n)=n Therefore, the only possible digital roots are the natural numbers 0≤n<b, and there are no cycles other than the fixed points of 0≤n<b.

Example In base 12, 8 is the additive digital root of the base 10 number 3110, as for n=3110

d0=3110mod120+1−3110mod120120=3110mod12−3110mod11=2−01=21=2 d1=3110mod121+1−3110mod121121=3110mod144−3110mod1212=86−212=8412=7 d2=3110mod122+1−3110mod122122=3110mod1728−3110mod144144=1382−86144=1296144=9 d3=3110mod123+1−3110mod123123=3110mod20736−3110mod17281728=3110−13821728=17281728=1 F12(3110)=∑i=04−1di=2+7+9+1=19 This process shows that 3110 is 1972 in base 12. Now for F12(3110)=19

d0=19mod120+1−19mod120120=19mod12−19mod11=7−01=71=7 d1=19mod121+1−19mod121121=19mod144−19mod1212=19−712=1212=1 F12(19)=∑i=02−1di=1+7=8 shows that 19 is 17 in base 12. And as 8 is a 1-digit number in base 12,

F12(8)=8.

Direct formulas We can define the digit root drb:ℕ→ℕ directly for base b≥2 in the following ways:

Congruence formula The formula in base b is:

drb(n)={0if n=0,b−1if n≠0, n ≡0(mod(b−1)),nmod(b−1)if n≢0(mod(b−1)) or,

drb(n)={0if n=0,1 + ((n−1)mod(b−1))if n≠0. In base 10, the corresponding sequence is (sequence A010888 in the OEIS). The digital root is the value modulo (b−1) because b≡1(mod(b−1)), and thus bi≡1i≡1(mod(b−1)). So regardless of the position i of digit di, dibi≡di(mod(b−1)), which explains why digits can be meaningfully added. Concretely, for a three-digit number n=d2b2+d1b1+d0b0,

drb(n)≡d2b2+d1b1+d0b0≡d2(1)+d1(1)+d0(1)≡d2+d1+d0(mod(b−1)). To obtain the modular value with respect to other numbers m, one can take weighted sums, where the weight on the i-th digit corresponds to the value of bimodm. In base 10, this is simplest for m=2,5, and 10, where higher digits except for the unit digit vanish (since 2 and 5 divide powers of 10), which corresponds to the familiar fact that the divisibility of a decimal number with respect to 2, 5, and 10 can be checked by the last digit. Also of note is the modulus m=b+1. Since b≡−1(mod(b+1)), and thus b2≡(−1)2≡1(mod(b+1)), taking the alternating sum of digits yields the value modulo (b+1).

Using the floor function It helps to see the digital root of a positive integer as the position it holds with respect to the largest multiple of b−1 less than the number itself. For example, in base 6 the digital root of 11 is 2, which means that 11 is the second number after 6−1=5. Likewise, in base 10 the digital root of 2035 is 1, which means that 2035−1=2034|9. If a number produces a digital root of exactly b−1, then the number is a multiple of b−1. With this in mind the digital root of a positive integer n may be defined by using floor function ⌊x⌋, as

drb(n)=n−(b−1)⌊n−1b−1⌋.

Properties Let b≥2 and let drb(n) denote the digital root of n in base b. Then:

Idempotence drb(drb(n))=drb(n). Since the digital root is a single digit (i.e. 0≤drb(n)<b), applying the digit-sum process again leaves it unchanged.

Compatibility with addition drb(a+c)=drb(drb(a)+drb(c)). This follows from the congruence

a≡drb(a),c≡drb(c)(modb−1). Compatibility with subtraction drb(a−c)≡drb(a)−drb(c)(modb−1). In particular, after applying drb to the result, subtraction is preserved up to reduction modulo b−1.

Compatibility with multiplication drb(ac)=drb(drb(a)⋅drb(c)). This is a consequence of multiplicative compatibility modulo b−1.

Compatibility with exponentiation drb(ak)=drb(drb(a)k). This follows from

a≡drb(a)(modb−1), so

ak≡drb(a)k(modb−1). These properties show that the digital root behaves like reduction modulo b−1, followed by mapping the residue 0 to b−1.

Additive persistence The additive persistence counts how many times we must sum its digits to arrive at its digital root. For example, the additive persistence of 2718 in base 10 is 2: first we find that 2 + 7 + 1 + 8 = 18, then that 1 + 8 = 9. There is no limit to the additive persistence of a number in a number base b. Proof: For a given number n, the persistence of the number consisting of n repetitions of the digit 1 is 1 higher than that of n. The smallest numbers of additive persistence 0, 1, ... in base 10 are:

0, 10, 19, 199, 19 999 999 999 999 999 999 999, ... (sequence A006050 in the OEIS) The next number in the sequence (the smallest number of additive persistence 5) is 2 × 102×(1022 − 1)/9 − 1 (that is, 1 followed by 2 222 222 222 222 222 222 222 nines). For any fixed base, the sum of the digits of a number is proportional to its logarithm; therefore, the additive persistence is proportional to the iterated logarithm.

Programming example The example below implements the digit sum described in the definition above to search for digital roots and additive persistences in Java.

In popular culture Digital roots are used in Western numerology, but certain numbers deemed to have occult significance (such as 11 and 22) are not always completely reduced to a single digit. Digital roots form an important mechanic in the visual novel adventure game Nine Hours, Nine Persons, Nine Doors.

See also

References

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Digital root

Start with the simplest possible case. Write down what Digital root claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Digital root before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Digital root ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Digital root

In research
Digital root appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Digital root in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Digital root is common in secondary-school and first-year university syllabi. It links to neighbouring topics Algebra, Arithmetic dynamics, Base-dependent integer sequences, so understanding it makes those chapters shorter.
In everyday life
Look for Digital root outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Digital root” →

How to study Digital root in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Digital root means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Digital root out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Digital root in simple terms?

The digital root (also repeated digital sum) of a natural number in a given radix is the (single digit) value obtained by an iterative process of summing digits, on each iteration using the result from the previous iteration to compute a digit sum. The process continues until a single-digit number…

Why does Digital root matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Digital root?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Digital root.

Tags

  • Algebra
  • Arithmetic dynamics
  • Base-dependent integer sequences
  • Number theory

Keep exploring