ToMotion AI logo
Menu
Back to gallery

Public AI explainer video

The Magic Number of Kaprekar

Can the same four digit cards, rearranged and subtracted, make a number come back to itself? Take the cards for 3,528: three, five, two, and eight. Put...

Prompt

Source idea used to generate this video.

Create one continuous, polished Grade 6 Mathematics animation for Chapter 3, Section 3.6, “The Magic Number of Kaprekar”. Target the core lesson to about 3–3.5 minutes so the complete video, including Flow Veo opening/closing and Canva title/end cards, stays around 4–5 minutes. Nivan is the curious guide; Arin explains the sorting and subtraction steps. Preserve their approved character identities if character references are supported. Include visuals, exact narration, overlays and answer reveals together in this single master prompt. Use clean sorting animations, large readable equations and short thinking pauses. SEQUENCE 1 — MEET THE FOUR-DIGIT MYSTERY Visual: Show 3528. Separate the digits into 3 | 5 | 2 | 8, then animate them into descending order 8 | 5 | 3 | 2 and ascending order 2 | 3 | 5 | 8. Arin: “Take a four-digit number with at least two different digits. Arrange its digits from largest to smallest to make the largest number. Then arrange the same digits from smallest to largest to make the smallest number.” Exact overlays: “LARGEST: 8532”; “SMALLEST: 2358” SEQUENCE 2 — SUBTRACT Visual: Show 8532 − 2358 = 6174 in a clear vertical subtraction layout. Reveal the answer after the calculation. Nivan: “Now subtract the smaller number from the larger one. Eight thousand five hundred and thirty-two minus two thousand three hundred and fifty-eight equals six thousand one hundred and seventy-four!” Exact overlay: “8532 − 2358 = 6174” Nivan reacts with surprise; Arin points back to the process. SEQUENCE 3 — PUT 6174 THROUGH THE MACHINE AGAIN Visual: Separate 6174 into 6 | 1 | 7 | 4. Sort descending to 7641 and ascending to 1467. Subtract: 7641 − 1467 = 6174. Arin: “Let’s use the answer again. The largest arrangement is 7641. The smallest is 1467. Subtract them, and we get 6174 again. The number has returned to itself!” Exact overlays: “7641 − 1467 = 6174”; “6174 RETURNS!” SEQUENCE 4 — UNDERSTAND THE STEPS Visual: Display the process as four clean cards, each highlighted when spoken. Nivan: “Here’s the number machine. First, arrange the digits from largest to smallest. Second, arrange the same digits from smallest to largest. Third, subtract the smaller number from the larger. Finally, use the answer and repeat.” Exact overlay: “ARRANGE DESCENDING → ARRANGE ASCENDING → SUBTRACT → REPEAT” SEQUENCE 5 — A NUMBER THAT TAKES MORE STEPS Visual: Start with 4218 and animate these accurate calculations in order: 8421 − 1248 = 7173 7731 − 1377 = 6354 6543 − 3456 = 3087 8730 − 0378 = 8352 8532 − 2358 = 6174 Keep each result visible long enough to read. Preserve 0378 as a four-position arrangement with the leading zero. Nivan: “Let’s try another starting number, 4218. We don’t reach 6174 immediately, so we repeat the same process with each new answer.” Arin: “The steps are 7173, 6354, 3087, 8352—and then 6174. Keep following the rule carefully.” Exact overlay: “4218 → 7173 → 6354 → 3087 → 8352 → 6174” SEQUENCE 6 — WHAT MAKES 6174 SPECIAL? Visual: Show two paths, starting at 3528 and 4218, converging on 6174. Perform 7641 − 1467 = 6174 once more. Arin: “For suitable four-digit starting numbers, this process leads to 6174. Once we reach 6174, applying the process again gives 6174.” Nivan: “That’s why 6174 is called the Kaprekar constant.” Exact overlay: “THE KAPREKAR CONSTANT: 6174” SEQUENCE 7 — YOUR TURN Visual: Show 5319 and ask learners to arrange the digits in both orders. Pause briefly, then reveal largest = 9531 and smallest = 1359; subtract 9531 − 1359 = 8172. Ask what should happen next. Nivan: “Your turn. For 5319, what are the largest and smallest numbers you can make? Pause and decide. The largest is 9531; the smallest is 1359. Their difference is 8172. Have we finished? No—use the answer and repeat the process.” Exact overlays: “9531 − 1359 = 8172”; “NOW REPEAT!”

Narration

Narration used to create this video.

Video narration

Can the same four digit cards, rearranged and subtracted, make a number come back to itself? Take the cards for 3,528: three, five, two, and eight. Put them in order from largest to smallest, and you make 8,532. Smallest to largest gives you 2,358. Subtract the smaller arrangement from the larger: 8,532 minus 2,358 equals 6,174. But the surprise is not that subtraction. It's what happens when you use the answer as your new set of cards. With six, one, seven, and four, largest first is 7,641; smallest first is 1,467. Subtract-and you get 6,174 again. It came back! That's the number machine: arrange the same cards both ways, subtract, then reuse the answer and repeat. For suitable four-digit starting numbers with at least two different digits, this process leads to 6,174. It's called the Kaprekar constant-the special number this card-sorting process returns to. So, can the cards make a number come back? Yes. For those suitable starts, the cards eventually settle on 6,174-and from there, stay put.