AMC 10 Step by Step

2022 AMC 10B Problem 8

P1-10~3 minPrint

Consider the following 100100 sets of 1010 elements each: {1,2,3,…,10},{11,12,13,…,20},{21,22,23,…,30},⋮{991,992,993,…,1000}.\begin{align*} &\{1,2,3,\ldots,10\}, \\ &\{11,12,13,\ldots,20\},\\ &\{21,22,23,\ldots,30\},\\ &\vdots\\ &\{991,992,993,\ldots,1000\}. \end{align*} How many of these sets contain exactly two multiples of 77 ?

Log in to save your progress.
Show solution without answering

Key insight

Every set of 10 holds one or two multiples of 7. There are 142 multiples in 100 sets, so 142 − 100 = 42 sets hold two.

Solution

Checking 100100 sets one by one is too slow. Instead, first work out how many multiples of 77 a single set can hold, then use a total.

  1. At least one. Among any 77 numbers in a row, one is a multiple of 77. Each set has 1010 numbers in a row, so it has at least one.
  2. At most two. Three multiples of 77 in a row, like 7,14,217, 14, 21, stretch from the first to the last over 1414 steps. A set only stretches 99 steps (from 11 to 1010, say). So a set never holds three.
  3. Examples. {1,…,10}\{1, \ldots, 10\} holds only 77. {21,…,30}\{21, \ldots, 30\} holds 2121 and 2828. So every set holds exactly one or exactly two.
  4. The total. From 11 to 10001000 there are 142142 multiples of 77, because 7×142=9947 \times 142 = 994 and 7×143=10017 \times 143 = 1001 is too big.
  5. Split the total. Give each of the 100100 sets one multiple first. That uses 100100 of them. The 142−100=42142 - 100 = 42 left over must go one each into 4242 different sets (a set cannot take a third). So 4242 sets have two.

The answer is (B) 42\boxed{\textbf{(B)}\ 42}.

Why this works

When you cannot easily track each group, find the smallest and largest amount one group can hold, then use the grand total. Here every group holds one or two, so the extra multiples beyond one per group tell you exactly how many groups hold two. This "count the same things two ways" trick turns a long check into one subtraction.

Alternative approach

Look for the repeating pattern. Multiples of 77 repeat every 7070 numbers, which is 77 sets. In 11 to 7070 the multiples are 7,14,21,28,35,42,49,56,63,707, 14, 21, 28, 35, 42, 49, 56, 63, 70. The sets 2121–3030 (21,2821, 28), 4141–5050 (42,4942, 49) and 6161–7070 (63,7063, 70) hold two, so 33 of every 77 sets hold two. Fourteen full rounds cover 11 to 980980 (9898 sets) and give 14×3=4214 \times 3 = 42. The last two sets, 981981–990990 and 991991–10001000, hold only 987987 and 994994, one each. Total: 4242.

Concise solution

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

Ten consecutive integers always include a multiple of 77 (any seven consecutive integers do), and never three of them (that would need a span of at least 1414). So every set contains exactly one or exactly two multiples of 77.

The total number of multiples of 77 from 11 to 10001000 is ⌊10007⌋=142\left\lfloor \frac{1000}{7} \right\rfloor = 142.

Let xx sets contain two multiples and 100−x100 - x contain one. Counting multiples of 77 two ways,
2x+(100−x)=142⟹x=42.2x + (100 - x) = 142 \quad\Longrightarrow\quad x = 42.

The answer is (B) 42\boxed{\textbf{(B)}\ 42}.

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.