To find the value of k − 20 k - 20 k − 20 , we set up the equation for the sum of the numbers on the remaining cards.
Let the total number of cards in the deck be n n n . The sum of all numbers from 1 1 1 to n n n is given by the sum of an arithmetic progression:
S n = n ( n + 1 ) 2 S_n = \frac{n(n+1)}{2} S n = 2 n ( n + 1 )
Two consecutive cards labeled k k k and k + 1 k+1 k + 1 (where 1 ≤ k ≤ n − 1 1 \le k \le n-1 1 ≤ k ≤ n − 1 ) are removed. The sum of these two removed cards is:
Sum of removed cards = k + ( k + 1 ) = 2 k + 1 \text{Sum of removed cards} = k + (k + 1) = 2k + 1 Sum of removed cards = k + ( k + 1 ) = 2 k + 1
According to the problem, the sum of the remaining cards is 1224 1224 1224 :
n ( n + 1 ) 2 − ( 2 k + 1 ) = 1224 \frac{n(n+1)}{2} - (2k + 1) = 1224 2 n ( n + 1 ) − ( 2 k + 1 ) = 1224
Rearranging this equation, we get:
n ( n + 1 ) 2 − 2 k = 1225 \frac{n(n+1)}{2} - 2k = 1225 2 n ( n + 1 ) − 2 k = 1225
⟹ 2 k = n ( n + 1 ) 2 − 1225 \implies 2k = \frac{n(n+1)}{2} - 1225 ⟹ 2 k = 2 n ( n + 1 ) − 1225
Since 1 ≤ k ≤ n − 1 1 \le k \le n - 1 1 ≤ k ≤ n − 1 , we have the inequality bounds for 2 k 2k 2 k :
2 ≤ 2 k ≤ 2 n − 2 2 \le 2k \le 2n - 2 2 ≤ 2 k ≤ 2 n − 2
Substituting 2 k = n ( n + 1 ) 2 − 1225 2k = \frac{n(n+1)}{2} - 1225 2 k = 2 n ( n + 1 ) − 1225 into the inequality:
2 ≤ n ( n + 1 ) 2 − 1225 ≤ 2 n − 2 2 \le \frac{n(n+1)}{2} - 1225 \le 2n - 2 2 ≤ 2 n ( n + 1 ) − 1225 ≤ 2 n − 2
Lower Bound for n n n :
n ( n + 1 ) 2 − 1225 ≥ 2 \frac{n(n+1)}{2} - 1225 \ge 2 2 n ( n + 1 ) − 1225 ≥ 2
n ( n + 1 ) ≥ 2454 n(n+1) \ge 2454 n ( n + 1 ) ≥ 2454
Testing integer values for n n n :
For n = 49 n = 49 n = 49 : 49 × 50 = 2450 < 2454 49 \times 50 = 2450 < 2454 49 × 50 = 2450 < 2454
For n = 50 n = 50 n = 50 : 50 × 51 = 2550 ≥ 2454 50 \times 51 = 2550 \ge 2454 50 × 51 = 2550 ≥ 2454
So, n ≥ 50 n \ge 50 n ≥ 50 .
Upper Bound for n n n :
n ( n + 1 ) 2 − 1225 ≤ 2 n − 2 \frac{n(n+1)}{2} - 1225 \le 2n - 2 2 n ( n + 1 ) − 1225 ≤ 2 n − 2
n ( n + 1 ) − 2450 ≤ 4 n − 4 n(n+1) - 2450 \le 4n - 4 n ( n + 1 ) − 2450 ≤ 4 n − 4
n 2 − 3 n − 2446 ≤ 0 n^2 - 3n - 2446 \le 0 n 2 − 3 n − 2446 ≤ 0
Solving the quadratic equation n 2 − 3 n − 2446 = 0 n^2 - 3n - 2446 = 0 n 2 − 3 n − 2446 = 0 :
n = 3 ± 9 − 4 ( 1 ) ( − 2446 ) 2 = 3 ± 9793 2 ≈ 3 + 98.96 2 ≈ 50.98 n = \frac{3 \pm \sqrt{9 - 4(1)(-2446)}}{2} = \frac{3 \pm \sqrt{9793}}{2} \approx \frac{3 + 98.96}{2} \approx 50.98 n = 2 3 ± 9 − 4 ( 1 ) ( − 2446 ) = 2 3 ± 9793 ≈ 2 3 + 98.96 ≈ 50.98
Thus, n ≤ 50 n \le 50 n ≤ 50 .
Combining both bounds, the only integer value possible for n n n is:
n = 50 n = 50 n = 50
Finding k k k :
Substitute n = 50 n = 50 n = 50 back into the equation for 2 k 2k 2 k :
2 k = 50 × 51 2 − 1225 2k = \frac{50 \times 51}{2} - 1225 2 k = 2 50 × 51 − 1225
2 k = 1275 − 1225 2k = 1275 - 1225 2 k = 1275 − 1225
2 k = 50 ⟹ k = 25 2k = 50 \implies k = 25 2 k = 50 ⟹ k = 25
Evaluating k − 20 k - 20 k − 20 :
k − 20 = 25 − 20 = 5 k - 20 = 25 - 20 = 5 k − 20 = 25 − 20 = 5