DR.WANG Mathematics中文

2022 AIME I · Question 6

Algebra · arithmetic sequence · complementary counting · casework · counting · problem-solving

Problem outline

Insert integers a,ba,b so that 3,4,5,a,b,30,40,503,4,5,a,b,30,40,50 is strictly increasing and contains no four-term arithmetic progression, whether consecutive or not in the list. Count the possible ordered pairs.

Show answer and methods 1 methods

Answer

228

Method 1 Tabulate progressions by common difference

Initially there are (242)=276\binom{24}2=276 ways to choose a,ba,b from 66 through 2929. Take a potential four-term progression with first term t≥3t\ge3 and integer step 1≤d≤151\le d\le15; its last term t+3dt+3d must be at most 5050.

For each dd, run tt from 33 to 50−3d50-3d. Delete the fixed numbers 3,4,5,30,40,503,4,5,30,40,50 from the four terms and keep the resulting list only if it has at most two entries, all between 66 and 2929. The nonempty results by step are: d=1d=1: {6},{6,7}\{6\},\{6,7\}; d=2d=2: {7,9}\{7,9\}; d=9d=9: {12,21}\{12,21\}; d=10d=10: {20},{10,20}\{20\},\{10,20\}; d=12d=12: {16,28}\{16,28\}. The other steps give none.

Pairs containing 66 or 2020 account for 23+23−1=4523+23-1=45 failures. Three further pairs remain: (7,9),(12,21),(16,28)(7,9),(12,21),(16,28). Therefore 276−45−3=228276-45-3=228 work.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)