Math Learning Lab
Lesson progress0 / 10 missions
Chapter 20 • Lesson 3

Test Squares with Last Digits and Digit Patterns

用末位数字和数字结构检验完全平方数

Reject impossible squares quickly, inspect the last two digits, translate repeated-digit numerals into equations, and enumerate every surviving pattern instead of trusting a guess.

Last digits can reject; a complete pattern check can prove.
10 interactive missionsoriginal Examples 3–4 & Practice 3Condition-based searchesAutosaves in this browser
Answers save automatically on this device.
Mission 1

Build the complete units-digit rule

The final digit of a square depends only on the final digit of its square root. Test all ten possible root endings; do not memorize an incomplete list.

Not complete
Predict first

Before exploring the wheel, predict the units digit of the square of a number ending in 3.

Your prediction is checked with this mission. Try it before reading the worked steps below.

7root ends in
7² ends in 9

Choose a root’s final digit

Root final digit7
Square final digit9
Example17² = 289
Possible for a square?Yes

The finished rule

0123456789

A perfect square can end only in 0, 1, 4, 5, 6, or 9. It can never end in 2, 3, 7, or 8.

Rule checkpoint

Need a hint? Start here

Square each of the ten possible root endings and collect different final digits.

The different possible endings are 0,1,4,5,6,9. The impossible endings add to 2+3+7+8=20. Prediction 9. Checkpoint: 20; six; impossible; 4.

Mission 2

Worked example 3: reject a huge-looking expression without evaluating it

The symbol n! means 1 × 2 × … × n; for example, 4! = 24. The worked example expression is 1! + 2! + 3! + 4! + 5! + 6!. Only its units digit is needed.

Not complete
Worked example 3

Track only the units digit of each term

1 + 2 + 6 + 4 + 0 + 0 has units digit 3

Every factorial from 5! onward contains both a factor 2 and a factor 5, so it ends in zero.

The complete expression ends in 3. Since no perfect square ends in 3, the expression is not a perfect square.

Factorial-sum units-digit laboratory

Checkpoint for the fixed practice problem above

Need a hint? Start here

Keep only each term’s units digit. A factor 2 and a factor 5 together make a final zero.

The endings 1,2,6,4,0,0 add to 13, so the sum ends in 3. 4; 0; 3; not a perfect square.

Mission 3

Know what a last-digit test can and cannot prove

An impossible final digit proves “not square.” An allowed final digit only means “keep investigating.”

Not complete

A decisive rejection

247 ends in 7

Because 7 is impossible as a square’s units digit, 247 cannot be a perfect square. No further work is needed.

A necessary test, not a proof

21 ends in 1

The units digit 1 is allowed, but:

4² = 16 < 21 < 25 = 5²

So 21 is not a square.

Square evidence scanner

Evidence checkpoint

Need a hint? Start here

An impossible final digit rejects a square. An allowed one still needs an exact-root check.

247 is ruled out by 7. For 546, compare 23²=529 with 24²=576. No; 247; 529; 576.

Mission 4

Inspect the last two digits

A square’s final two digits repeat every 100 possible root endings. This stronger test can resolve questions that the units digit cannot.

Not complete

All square endings (remainders after division by 100)

“Modulo 100” means the remainder after division by 100. Write it as two digits, including a leading zero when needed: 4 has ending 04.

Square the root endings 00 through 99 and keep each distinct result.

There are 22 possible final-two-digit endings.

original Exercise 11

If the tens digit of is 7, then its final two digits lie from 70 through 79.

Only one ending survives:

n² ends in 76

Last-two-digit checker

Practice Question 6

Three-digit squares with tens digit 7

The complete search through 10² to 31² gives:

24² = 57626² = 676

Two-digit checkpoint

Need a hint? Start here

Try root endings 00 through 99. Keep the square endings that match the required tens digit.

Only ending 76 survives. Roots 24 and 26 give 576 and 676. 22 different endings; units digit 6; 576; 676.

Mission 5

Worked example 4: find the repeated-pair square

Find every four-digit square whose first two digits match each other and whose last two digits match each other. The notation aabb names the four-digit numeral, not a product: a is a digit 1–9, and b is a digit 0–9. The letters may represent the same digit.

Not complete
Worked example 4

Write the numeral algebraically

aabb = 1100a + 11b = 11(100a+b)

If a square contains a factor 11, its prime factorization must contain 11². Therefore:

100a + b must be divisible by 11.

For 100a+b, the alternating digit sum is a−0+b. It must be a multiple of 11. Since 1≤a≤9 and 0≤b≤9, we have 1≤a+b≤18; the only multiple of 11 in that range is 11. Therefore:

a + b = 11

Audit the eight candidates

100a+b÷ 11Quotient square?Repeated-pair number

The surviving structure

704 ÷ 11 = 64 = 8²
7744 = 11² × 8² = (11 × 8)²
7744 = 88²

Repeated-pair square search

The runtime search checks all 90 values aabb with a = 1…9 and b = 0…9.

Checkpoint for the fixed practice problem above

Need a hint? Start here

Expand the numeral using place value. A prime that divides a square must appear an even number of times.

a+b=11 gives eight candidates. Only (100a+b)/11=64 is square, at a=7,b=4. 7; 4; 7744; root 88.

Mission 6

Guided Practice 3: build a square from square digits

The tens and ones digits must themselves be one-digit perfect squares.

Not complete
Guided Practice 3

Square digits

The one-digit perfect-square values are:

0149

A two-digit numeral cannot begin with 0.

Check the two-digit squares

Only one square has both digits in {0,1,4,9}:

49 = 7²
Practice Question 4

Three-digit transfer

Find every three-digit square whose hundreds digit plus ones digit equals its tens digit.

121: 1 + 1 = 2484: 4 + 4 = 8

Digit-filter checkpoint

Need a hint? Start here

List the two-digit squares, then test each digit against the square-digit set.

Only 49 among 16,25,36,49,64,81 uses two square digits. The three-digit transfer gives 121 and 484. 49; root 7; two transfer solutions; larger 484.

Mission 7

Translate digit patterns into equations

Place value turns a digit puzzle into a short algebraic search. It also reveals when the worked example wording allows more than one answer.

Not complete
Exercise 1

A two-digit number equals ones-digit squared plus tens digit

Let the number be ab, with tens digit a from 1–9 and ones digit b from 0–9. The overline marks a numeral, not multiplication.

10a + b = b² + a
9a = b(b − 1)

The unique two-digit solution is:

89 = 9² + 8
Exercise 2

A two-digit number plus its reversal is a square

Here ab means 10a+b and ba means 10b+a. Count each original number separately: 29 and 92 are two answers, even though they form one reversed pair.

ab + ba = 11(a+b)

The sum is at most 198. A square divisible by 11 must contain 11², so the only possible square is:

121 = 11²

Hence:

a + b = 11
original wording note: the reversed-digit exercise is not unique as printed. It admits eight two-digit values. The adds a < b, leaving four values. This page preserves all valid answers instead of forcing one.

Digit-equation checkpoint

Need a hint? Start here

Write ab as 10a+b and ba as 10b+a. These are numerals, not products.

9a=b(b−1) gives a=8,b=9. For reversal, a+b=11 gives 29,38,47,56,65,74,83,92. 89; digit sum 11; eight numbers; four with a<b.

Mission 8

Use a complete pattern-search studio

Choose a pattern. The page enumerates the full candidate range, applies the exact condition, and reports every match.

Not complete

Why enumeration matters

A pattern may have:

  • one result, such as the repeated-pair square;
  • several results, such as the reversed-digit family;
  • no result.

Only a complete search or a proof can justify “unique.”

Practice recap

Impossible units-digit sum20
Tens-digit-7 squares2
H+U=T squares2
a<b reversal cases4

Search-studio checkpoint

Need a hint? Start here

Check the whole allowed root or digit range before claiming a result is unique.

There are 22 square endings; 7744 is the only aabb square; 121 and 484 satisfy the three-digit sum rule. 22; 1; 2; smallest three-digit tens-7 square 576.

Mission 9

Last-digit and digit-pattern workshop

Correct all eight answers to complete the workshop.

Not complete
0 / 8

Optional reflection — not automatically graded

Need a hint? Start here

Choose a method before calculating. Use the earlier local hint for that method, then verify the root, all stated conditions and the endpoints.

A square with tens digit 7 has units digit 6. A reversal solution must have digit sum 11. Yes; 20; 3; 6; 7744; 49; 89; 4.

Mission 10

Exit ticket

Complete all ten missions, including all five exit questions, to earn your certificate.

Not complete

Fresh challenge: use the methods from this lesson on these new values. Check your calculations by squaring, listing a short cycle, or verifying every condition.

0 / 5
…76

Square Digit-Pattern Detective

This certifies that a determined mathematician can use units digits, last-two-digit residues, place-value equations, and complete searches to test perfect-square patterns.

Lesson 20.3 • Chapter 20

Need a hint? Start here

Choose a method before calculating. Use the earlier local hint for that method, then verify the root, all stated conditions and the endpoints.

The four reversal numbers with a>b are 65,74,83,92. No; 6; 3; 121; four.

original and instructional-scope note

Dynamic enumeration and the general scanners are added instructional scaffolding.