AMC 10 Step by Step

2016 AMC 10B Problem 24

P21-25~10 minPrint

How many four-digit integers abcdabcd , with a≠0a \neq 0 , have the property that the three two-digit integers ab<bc<cdab<bc<cd form an increasing arithmetic sequence? One such number is 46924692 , where a=4a=4 , b=6b=6 , c=9c=9 , and d=2d=2 .

Log in to save your progress.
Show solution without answering

Key insight

The digit b is the ones digit of ab and the tens digit of bc. Adding column by column shows the common difference is 11p or 11p + 1.

Solution

Let DD be the common difference, so ab+D=bcab + D = bc and bc+D=cdbc + D = cd. Write DD with tens digit pp and ones digit qq (so D=10p+qD = 10p + q). Now do the two additions column by column, the way you would on paper.

Step 1: the first addition, ab+D=bcab + D = bc, never carries.

  1. Ones column: b+qb + q must end in cc. Either c=b+qc = b + q (no carry), or c=b+q−10c = b + q - 10 (carry 11).
  2. Tens column of the second addition, bc+D=cdbc + D = cd: b+pb + p, plus a possible carry, gives cc. So cc is at least bb.
  3. If the first ones column carried, then c=b+q−10c = b + q - 10 would be less than bb. That contradicts step 2. So there is no carry: c=b+qc = b + q, and the tens column gives b=a+pb = a + p.

Step 2: compare the two ways of getting from bb to cc.

  1. From the first addition: c=b+qc = b + q.
  2. From the tens column of the second addition: c=b+pc = b + p, or c=b+p+1c = b + p + 1 if the second ones column carries.
  3. So either q=pq = p (no second carry) or q=p+1q = p + 1 (second carry).

Step 3, case A: no carry anywhere (q=pq = p, so D=11pD = 11p). Every digit is pp more than the one before: a, a+p, a+2p, a+3pa,\ a + p,\ a + 2p,\ a + 3p. We need p≥1p \ge 1 (the sequence increases), a≥1a \ge 1, and a+3p≤9a + 3p \le 9.

  • p=1p = 1: a=1a = 1 to 66, giving 1234,2345,…,67891234, 2345, \ldots, 6789. That is 66 numbers.
  • p=2p = 2: a=1a = 1 to 33, giving 1357,2468,35791357, 2468, 3579. That is 33 numbers.
  • p=3p = 3 would need a+9≤9a + 9 \le 9, impossible.

Case A gives 99 numbers.

Step 4, case B: the second ones column carries (q=p+1q = p + 1, so D=11p+1D = 11p + 1). Then b=a+pb = a + p and c=b+p+1=a+2p+1c = b + p + 1 = a + 2p + 1, and the carry means c+q=d+10c + q = d + 10, so d=a+3p+2−10d = a + 3p + 2 - 10. We need:

  • c≤9c \le 9: a≤8−2pa \le 8 - 2p.
  • d≥0d \ge 0: a≥8−3pa \ge 8 - 3p.
ppallowed aanumbers
008888908890
115,65, 65680,67915680, 6791
222,3,42, 3, 42470,3581,46922470, 3581, 4692
331,21, 21482,25931482, 2593
44none (a≤0a \le 0)

Case B gives 1+2+3+2=81 + 2 + 3 + 2 = 8 numbers. (The example 46924692 from the problem is here.)

Total: 9+8=179 + 8 = 17.

The answer is (D) 17\boxed{\textbf{(D)}\ 17}.

Why this works

The digits overlap: bb is a ones digit in abab and a tens digit in bcbc. Writing each addition column by column, with the carries shown, lets you compare two descriptions of the same step, and that pins the difference down to just two families. In digit problems, work column by column with explicit carries instead of treating the numbers as wholes.

Alternative approach

Bound and check. Twice the difference is cd−abcd - ab, which is at most 98−10=8898 - 10 = 88, so D≤44D \le 44. From the column argument, DD is a multiple of 1111 or one more than a multiple of 1111, so DD is one of 1,11,12,22,23,33,34,441, 11, 12, 22, 23, 33, 34, 44. Trying each one by hand (for example, D=33D = 33 and D=44D = 44 give nothing) finds the same 1717 numbers.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Let the common difference be D=10p+qD = 10p + q with 0≤q≤90 \le q \le 9. Adding DD to ab‾\overline{ab} must produce bc‾\overline{bc}, and adding it to bc‾\overline{bc} must produce cd‾\overline{cd}.

Track the digits. In the first addition, the units digits satisfy c≡b+q(mod10)c \equiv b + q \pmod{10} with a carry k1∈{0,1}k_1 \in \{0, 1\}, and the tens digits satisfy b=a+p+k1b = a + p + k_1. In the second addition, d≡c+q(mod10)d \equiv c + q \pmod{10} with carry k2k_2, and c=b+p+k2c = b + p + k_2.

The step from bb to cc appears twice: as units digits, c=b+q−10k1c = b + q - 10k_1; as tens digits, c=b+p+k2c = b + p + k_2. Hence q−10k1=p+k2≥0q - 10k_1 = p + k_2 \ge 0, which forces k1=0k_1 = 0 and q=p+k2q = p + k_2. So D=11p+k2D = 11p + k_2.

Case k2=0k_2 = 0: D=11pD = 11p, no carries, and a,b,c,da, b, c, d increase by p≥1p \ge 1 each step. Need d=a+3p≤9d = a + 3p \le 9 with a≥1a \ge 1: p=1p = 1 gives a=1,…,6a = 1, \ldots, 6 (66 numbers such as 12341234), p=2p = 2 gives a=1,2,3a = 1, 2, 3 (33 numbers such as 24682468). That is 99.

Case k2=1k_2 = 1: D=11p+1D = 11p + 1, so b=a+pb = a + p, c=b+p+1c = b + p + 1, and d=c+p+1−10d = c + p + 1 - 10. Constraints: c=a+2p+1≤9c = a + 2p + 1 \le 9 and d≥0d \ge 0, i.e. a+3p+2≥10a + 3p + 2 \ge 10. So 8−3p≤a≤8−2p8 - 3p \le a \le 8 - 2p with a≥1a \ge 1:
- p=0p = 0: a=8a = 8, giving 88908890 (88,89,9088, 89, 90).
- p=1p = 1: a=5,6a = 5, 6, giving 5680,67915680, 6791.
- p=2p = 2: a=2,3,4a = 2, 3, 4, giving 2470,3581,46922470, 3581, 4692.
- p=3p = 3: a=1,2a = 1, 2, giving 1482,25931482, 2593.
That is 1+2+3+2=81 + 2 + 3 + 2 = 8.

Total: 9+8=179 + 8 = 17.

The answer is (D) 17\boxed{\textbf{(D)}\ 17}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.