Stuck on this? Solve it with AI
Arithmetic · real student question

Find a three-digit number A such that the digit sum of A is divisible by 6, the digit sum of A + 3 is divisible by 6, and A is greater than 350 and less than 400.

Question

Find a three-digit number AA with all three properties:

  • the sum of the digits of AA is divisible by 66;
  • the sum of the digits of A+3A+3 is divisible by 66;
  • 350<A<400350<A<400.

Give any one such number.

Step-by-step solution

  1. Fix the form of the number. From 350<A<400350<A<400 the hundreds digit is 33, so A=3ab‾A=\overline{3ab} with a∈{5,6,7,8,9}a\in\{5,6,7,8,9\} and digit sum S=3+a+bS=3+a+b.

  2. Work out how adding 3 changes the digit sum. Two cases only:

    • No carry (b≤6b\le 6): the units digit gains 33, so S→S+3S\to S+3.
    • Carry (b≥7b\ge 7): the units digit drops by 77 and the tens digit gains 11, so S→S+3−10+1=S−6S\to S+3-10+1=S-6.
  3. Rule out the no-carry case. If 6∣S6\mid S then S+3S+3 leaves remainder 33 on division by 66, never 00. So a carry is compulsory and

    b∈{7,8,9}.b\in\{7,8,9\}.

    In the carry case S→S−6S\to S-6, which is automatically a multiple of 66 whenever SS is — so the second condition becomes free.

  4. Impose the digit-sum condition. Require 3+a+b≡0(mod6)3+a+b\equiv 0\pmod 6 with a∈{5,…,9}a\in\{5,\ldots,9\} and b∈{7,8,9}b\in\{7,8,9\}. The pairs that work are (a,b)=(6,9),(7,8),(8,7)(a,b)=(6,9),(7,8),(8,7), each giving S=18S=18.

  5. List and verify the answers.

    369→3+6+9=18,372→3+7+2=12 ✓369\to 3+6+9=18,\quad 372\to 3+7+2=12\ \checkmark
    378→18,381→12 ✓378\to 18,\quad 381\to 12\ \checkmark
    387→18,390→12 ✓387\to 18,\quad 390\to 12\ \checkmark

    A scan of every integer from 351351 to 399399 confirms there are no others.

Answer

A∈{369, 378, 387}A\in\{369,\ 378,\ 387\}

Need to solve a different problem like this? Open the solver →