Question
Question: A pack contains n cards numbered from 1 to n. Two consecutive numbered cards are removed from the pa...
A pack contains n cards numbered from 1 to n. Two consecutive numbered cards are removed from the pack and the sum of the numbers on the remaining cards is 1224. If the smaller of the numbers on the removed cards is k, then k-20=

5
Solution
Let n be the total number of cards in the pack, numbered from 1 to n. The sum of the numbers on these cards is Sn=2n(n+1).
Two consecutive numbered cards are removed from the pack. Let the numbers on these cards be k and k+1. Since these cards are from the pack, we must have 1≤k and k+1≤n. This implies 1≤k≤n−1.
The sum of the numbers on the remaining cards is given as 1224. The sum of the remaining cards is equal to the total sum minus the sum of the removed cards. Sum of remaining cards = Sn−(k+(k+1)) 1224=2n(n+1)−(2k+1) 1224=2n(n+1)−2k−1 1225=2n(n+1)−2k Multiply by 2: 2450=n(n+1)−4k n(n+1)=2450+4k
We know that 1≤k≤n−1. We can use these bounds for k to find the possible range for n. Since k≥1, we have 4k≥4. n(n+1)=2450+4k≥2450+4(1)=2454. So, n(n+1)≥2454. Let's test values of n. For n=49, n(n+1)=49×50=2450, which is less than 2454. For n=50, n(n+1)=50×51=2550, which is greater than 2454. So, n must be an integer n≥50.
Since k≤n−1, we have 4k≤4(n−1)=4n−4. n(n+1)=2450+4k≤2450+4(n−1)=2450+4n−4=2446+4n. So, n(n+1)≤2446+4n. n2+n≤2446+4n n2−3n−2446≤0. To find the values of n that satisfy this inequality, we find the roots of the quadratic equation n2−3n−2446=0. Using the quadratic formula, n=2(1)−(−3)±(−3)2−4(1)(−2446)=23±9+9784=23±9793. The value of 9793 is approximately 98.96. The roots are approximately n1=23−98.96≈−47.98 and n2=23+98.96≈50.98. The inequality n2−3n−2446≤0 holds for values of n between the roots, i.e., approximately −47.98≤n≤50.98. Since n must be a positive integer, n must satisfy 1≤n≤50.
Combining the two conditions for n: n≥50 and n≤50.98. The only integer value of n that satisfies both conditions is n=50.
Now that we have n=50, we can find the value of k. Substitute n=50 into the equation n(n+1)=2450+4k: 50(50+1)=2450+4k 50×51=2450+4k 2550=2450+4k 4k=2550−2450 4k=100 k=25.
We must check if this value of k is valid for n=50. The condition is 1≤k≤n−1. 1≤25≤50−1=49. The value k=25 is within the valid range.
The smaller of the numbers on the removed cards is k. We are asked to find the value of k−20. k−20=25−20=5.