21.6Math Education • Chapter 21
Lesson progress0 / 10
Lesson 21.6 • Digit Sums

Solve Digit-Sum Equations and Build Extremal Numbers

数字和:方程、约束与最值

Turn place value into equations, use digit bounds and modulo 9 to shorten a search, and construct the smallest possible number under digit-sum and parity constraints.

Place value creates the equation. Digit bounds make the search finite.

original and 126Companion transfer: Test 21, pages 50–5110 missionsCondition-based search tools
Your answers save automatically in this browser.
Your toolkit: s(n) means the sum of the decimal digits of n. For example, s(203)=2+0+3=5. Try each checkpoint yourself, then open its on-page hint if you get stuck. No lesson or external chat is needed.
Mission 1

Turn a numeral into a digit-sum equation

A three-digit numeral is not merely “three symbols.” Its digits carry hundreds, tens, and ones values.

Not complete

Place value first

ahundreds
btens
cones
N = 100a + 10b + c
s(N) = a + b + c

For a three-digit number, 1 ≤ a ≤ 9 and 0 ≤ b,c ≤ 9, so 1 ≤ s(N) ≤ 27.

Two high-value invariants

N − s(N) is always divisible by 9.

Also, if N = k·s(N), then:

(k − 1)s(N) ≡ 0 (mod 9)

These facts remove impossible digit sums before any full enumeration.

Digit-equation translator

Numeral195
vs.
k × digit sum195
Equation statustrue

Checkpoint

Need a hint for Mission 1?

Use the fixed numeral195.

Check your method

s(195)=15 and13×15=195. A three-digit digit sum is at most27. Every N−s(N) is divisible by9; N=10 gives exactly9, so no larger universal divisor works. 15;195;27;9.

Smallest means leftmost digits first

First minimize the number of digits: d digits can hold a sum of at most 9d. Once d is fixed, a smaller first digit makes a smaller number regardless of later digits. Choose the smallest first digit that leaves enough capacity in the remaining places, and continue. If the final digit must be even or odd, reserve its capacity before making each choice.

Mission 2

Solve the worked example equation N = 13·s(N)

Use place value, then use digit bounds before testing the remaining cases.

Not complete
Example 5

A three-digit number is divisible by 13, and its quotient equals its digit sum.

100a+10b+c = 13(a+b+c)
Rearrange87a=3b+12c
÷3
Simplify29a=b+4c
Because b+4c ≤ 9+4×9 = 45, the hundreds digit cannot be 2 or more. Therefore a=1.

Complete candidate audit

cb=29−4cDigit b?Number13·s(N)Result
117 + 156 + 195 = 468

Checkpoint

Need a hint for Mission 2?

29a=b+4c≤45 forces a=1.

Check your method

Then b=29−4c is a digit only for c=5,6,7, giving b=9,5,1. a1;three values;117,156,195;sum468.

Mission 3

Enumerate equations of the form N = k·s(N)

The digit sum is small, so search possible digit sums—not every numeral.

Not complete
21 • Question 13

Find the three-digit number satisfying N=18·s(N).

Since N≡s(N) (mod 9):

17s(N) ≡ 0 (mod 9)

Thus s(N) is a multiple of 9. For a three-digit number, the only candidates are:

s=9 → N=162s=18 → N=324s=27 → N=486
Only 162 has the required digit sum: s(162)=9.

Why this search is complete

A d-digit number has digit sum at most 9d. For each possible sum t, the equation gives only one numerical candidate:

N = k·t

Check its digit length and whether s(N)=t. No other N can work.

General multiplier-equation laboratory

Checkpoint

Need a hint for Mission 3?

After the modulo-9 filter, test sums9,18,27.

Check your method

The candidates162,324,486 have digit sums9,9,18 respectively. Only162 agrees with the sum used to create it. List9,18,27;162;9;one answer.

Mission 4

Use the invariant N − s(N)

This difference is always divisible by 9, but a remainder argument may leave more than one mathematically valid answer.

Not complete
21 • Question 12

A four-digit number minus its digit sum is 603□. What can □ be?

603□ must be divisible by 9

Its digit sum is:

6+0+3+□ = 9+□

Therefore the blank may be:

09
Witness for 6030
6040−s(6040)=6040−10=6030
Witness for 6039
6050−s(6050)=6050−11=6039
The printed blank is not unique. A complete lesson must preserve both valid digits.

Wildcard difference laboratory

ResultPossible final digitFirst witness Ns(N)Check

Checkpoint

Need a hint for Mission 4?

Find endings divisible by9, then prove each has a real four-digit witness.

Check your method

Both6030 and6039 are multiples of9. For example6040−10=6030 and6050−11=6039. List0,9;any valid witness for6030;any valid witness for6039;two endings.

Mission 5

Build the smallest number with a fixed digit sum

Minimize the number of digits first. Then make the leading digit as small as possible.

Not complete
Exercise 10

Find the smallest positive integer whose digit sum is 2003.

2003 = 5 + 222×9
Fewest digits⌈2003÷9⌉ = 223
Leading digit5
Remaining digits222 nines
5 followed by 222 copies of 9
Any number with only 222 digits has digit sum at most 222×9=1998, so 223 digits are necessary. With 223 digits, placing the smallest required nonzero digit first makes the number minimal.

General smallest-number constructor

Checkpoint

Need a hint for Mission 5?

Use the fixed target digit sum2003.

Check your method

222 digits hold at most1998, so223 are necessary. The first digit must be at least5 to leave enough capacity in222 remaining places. 223 digits;leading5;222 trailing9s;1998.

Mission 6

Build the smallest odd or even number

A parity condition controls the final digit, so the unrestricted minimum may no longer work.

Not complete
21 • Question 5

Smallest odd number with digit sum 44

Four digits can total at most 36, so five digits are required. The leading digit must be at least 8:

44 = 8+9+9+9+9
89999 is already odd and is the minimum.
21 • Question 7

Smallest odd and even numbers with digit sum 22

Odd
499

4+9+9=22.

Even
598

A leading 4 would force 499, which is odd. The next possible leading digit is 5.

Parity-constrained constructor

Checkpoint

Need a hint for Mission 6?

The final digit determines parity; minimize from left to right.

Check your method

For sum22,499 is smallest and odd. An even last digit is at most8, so a three-digit even answer must start at least5:598. 89999;499;598;five digits.

Mission 7

Use several original constraints at once

One simple equation may identify three consecutive numbers; the remaining equations then become a complete verification audit.

Not complete
Exercise 12

“Welcome,” “Spring,” and “Cup” represent three consecutive positive whole numbers.

One printed equation is:

Welcome + Spring + Cup = 6

Write the three consecutive values in descending order as:

t+2, t+1, t
3t+3=6 → t=1

The sum fixes the set {1,2,3}, but does not assign symbols. From Welcome−Spring−Cup=0 and their sum 6, Welcome=3. From Welcome+Spring−Cup=4, Spring−Cup=1, so Spring=2 and Cup=1. Now verify all eight equations.

3
2
1

Check all eight printed equations

Checkpoint

Need a hint for Mission 7?

First find the set of values, then assign each name.

Check your method

The sum6 forces consecutive values1,2,3. The difference equation forces Welcome3, then Spring2 and Cup1. 3;2;1;eight equations.

Mission 8

Enumerate mixed conditions and preserve every answer

When several conditions are combined, a complete list is stronger than one lucky example.

Not complete
21 • Question 9

Rank 2012 in the increasing list of positive multiples of 4 with digit sum 5, counting the first as position 1

The worked example value 2012 is the 12th such positive integer.
21 • Question 14

Lucky pairs

The two integers differ by 2, and both digit sums are divisible by 7. Both numbers must be in 100–200, including the endpoints. The complete pairs are:

149, 151158, 160
The problem asks for one pair, so either valid pair must be accepted.

Rank laboratory

Lucky-pair laboratory

Checkpoint

Need a hint for Mission 8?

Use the fixed2012 rank and100–200 lucky-pair conditions.

Check your method

Count qualifying positive multiples of4 in increasing order through2012. The valid pairs are149,151 and158,160; either order within a pair is accepted. Rank12;two pairs;enter either complete pair.

Try a new problem before the workshop

Find the smallest positive even number with digit sum 14. Explain why it is smallest.

Compare your reasoning after trying

Two digits suffice. The units digit is at most 8, so the tens digit is at least 6. The answer is 68.

Mission 9

Independent workshop

Correct all eight answers to complete the workshop.

Not complete
0 / 8

Optional reflection — not automatically graded

Need a hint for Mission 9?

Lists and named assignments have different ordering rules.

Check your method

The blank permits0 and9; named values must be Welcome3,Spring2,Cup1 in that order. 3;468;162;list0,9;223;598;3,2,1;12.

Mission 10

Objective exit ticket

Answer all five correctly and complete the other nine missions to unlock the certificate.

Not complete
0 / 5
21.6

Digit-Sum Equation & Extremal-Number Architect

This certifies that Student completed all ten missions and can translate place value into equations, use modulo 9 responsibly, build extremal numbers, and preserve every valid solution.

Chapter 21 • Digit Sums

Need a hint for Mission 10?

Use the worked example simplified equation29a=b+4c.

Check your method

The greatest universal divisor is9. For digit sum16, an even ones digit is at most8, so the tens digit is at least8. b+4c (spaces and × or * allowed);9;499;222;88.