HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /A label on a box of 72 equal packets shows the total mass in grams as a five-digit number 6a49b…
HardMathematicsHigh School (11–12)Number TheoryNumericalOlympiad

A label on a box of 72 equal packets shows the total mass in grams as a five-digit number 6a49b…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

A label on a box of 727272 equal packets shows the total mass in grams as a five-digit number 6a49b‾\overline{6a49b}6a49b. Two digits, aaa and bbb, are smudged. The total mass must be a whole number of packets, so the number is divisible by 727272.

  1. Explain why it is enough to test divisibility by 888 and by 999.
  1. Find bbb from the rule for 888.
  1. Find aaa from the rule for 999, and give the mass of one packet in grams.

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

g
Need a reminder? The key ideaShowHide

A number and its digit sum leave the same remainder on division by 999. A number and its alternating sum leave the same remainder on division by 111111. The last kkk digits decide divisibility by 2k2^k2k and 5k5^k5k. Also a−b∣an−bna - b \mid a^n - b^na−b∣an−bn.

The worked solution

Check an answer or open a hint to unlock the worked solution.

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Given. 72∣6a49b‾72 \mid \overline{6a49b}72∣6a49b, with digits aaa and bbb.

Plan. Split 727272 into the coprime parts 888 and 999, and use one rule for each.

Step 1. Part (a). If 8∣N8 \mid N8∣N and 9∣N9 \mid N9∣N, then N=8kN = 8kN=8k and 9∣8k9 \mid 8k9∣8k. Since 999 shares no prime with 888, 9∣k9 \mid k9∣k. So 72∣N72 \mid N72∣N. The converse is clear.

Step 2. Part (b). 49b‾\overline{49b}49b is one of 490,…,499490, \dots, 499490,…,499. The only multiple of 888 among them is 496=8×62496 = 8 \times 62496=8×62. So b=6b = 6b=6.

Step 3. Part (c). The digit sum is 6+a+4+9+6=25+a6 + a + 4 + 9 + 6 = 25 + a6+a+4+9+6=25+a. For a digit aaa, the only multiple of 999 in reach is 272727, so a=2a = 2a=2.

Step 4. The packet. 62496÷72=86862496 \div 72 = 86862496÷72=868, so one packet has a mass of 868 g868\ \text{g}868 g.

Check. 72×868=6249672 \times 868 = 6249672×868=62496.

Answer: a=2a = 2a=2, b=6b = 6b=6, and each packet has a mass of 868 g868\ \text{g}868 g.

Watch out. Testing 444 and 181818 instead would not be enough: they share the factor 222.

Log in to save this for later
← All Problems
← Multiply four consecutive whole numbers and add 1…A six-digit number is called a repeater when its last three digits repeat its first three, like… →
More onNumber Theory

Discussion (0)

Log in to join the discussion.

Loading…

More on this topic

  1. The triangular numbers are 1, 3, 6, 10, …, where the nth one is (n(n + 1))/2…Advanced
  2. Prove that the equation x³ + y³ + z³ = n has no solution in integers when n leaves remainder 4 or 5…Advanced
  3. Find every triple of positive integers a ≤ b ≤ c with 1/a + 1/b + 1/c = 1, and prove that there are…Advanced
  4. Find all pairs of positive integers (x, y) with x² - y² = 945…Hard
  5. A teacher wants a list of every primitive Pythagorean triple whose hypotenuse is less than 100…Advanced
All problems on this topic →