Solveeit Logo

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=

Answer

5

Explanation

Solution

Let nn be the total number of cards in the pack, numbered from 1 to nn. The sum of the numbers on these cards is Sn=n(n+1)2S_n = \frac{n(n+1)}{2}.

Two consecutive numbered cards are removed from the pack. Let the numbers on these cards be kk and k+1k+1. Since these cards are from the pack, we must have 1k1 \le k and k+1nk+1 \le n. This implies 1kn11 \le k \le 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))S_n - (k + (k+1)) 1224=n(n+1)2(2k+1)1224 = \frac{n(n+1)}{2} - (2k+1) 1224=n(n+1)22k11224 = \frac{n(n+1)}{2} - 2k - 1 1225=n(n+1)22k1225 = \frac{n(n+1)}{2} - 2k Multiply by 2: 2450=n(n+1)4k2450 = n(n+1) - 4k n(n+1)=2450+4kn(n+1) = 2450 + 4k

We know that 1kn11 \le k \le n-1. We can use these bounds for kk to find the possible range for nn. Since k1k \ge 1, we have 4k44k \ge 4. n(n+1)=2450+4k2450+4(1)=2454n(n+1) = 2450 + 4k \ge 2450 + 4(1) = 2454. So, n(n+1)2454n(n+1) \ge 2454. Let's test values of nn. For n=49n=49, n(n+1)=49×50=2450n(n+1) = 49 \times 50 = 2450, which is less than 2454. For n=50n=50, n(n+1)=50×51=2550n(n+1) = 50 \times 51 = 2550, which is greater than 2454. So, nn must be an integer n50n \ge 50.

Since kn1k \le n-1, we have 4k4(n1)=4n44k \le 4(n-1) = 4n - 4. n(n+1)=2450+4k2450+4(n1)=2450+4n4=2446+4nn(n+1) = 2450 + 4k \le 2450 + 4(n-1) = 2450 + 4n - 4 = 2446 + 4n. So, n(n+1)2446+4nn(n+1) \le 2446 + 4n. n2+n2446+4nn^2 + n \le 2446 + 4n n23n24460n^2 - 3n - 2446 \le 0. To find the values of nn that satisfy this inequality, we find the roots of the quadratic equation n23n2446=0n^2 - 3n - 2446 = 0. Using the quadratic formula, n=(3)±(3)24(1)(2446)2(1)=3±9+97842=3±97932n = \frac{-(-3) \pm \sqrt{(-3)^2 - 4(1)(-2446)}}{2(1)} = \frac{3 \pm \sqrt{9 + 9784}}{2} = \frac{3 \pm \sqrt{9793}}{2}. The value of 9793\sqrt{9793} is approximately 98.9698.96. The roots are approximately n1=398.96247.98n_1 = \frac{3 - 98.96}{2} \approx -47.98 and n2=3+98.96250.98n_2 = \frac{3 + 98.96}{2} \approx 50.98. The inequality n23n24460n^2 - 3n - 2446 \le 0 holds for values of nn between the roots, i.e., approximately 47.98n50.98-47.98 \le n \le 50.98. Since nn must be a positive integer, nn must satisfy 1n501 \le n \le 50.

Combining the two conditions for nn: n50n \ge 50 and n50.98n \le 50.98. The only integer value of nn that satisfies both conditions is n=50n=50.

Now that we have n=50n=50, we can find the value of kk. Substitute n=50n=50 into the equation n(n+1)=2450+4kn(n+1) = 2450 + 4k: 50(50+1)=2450+4k50(50+1) = 2450 + 4k 50×51=2450+4k50 \times 51 = 2450 + 4k 2550=2450+4k2550 = 2450 + 4k 4k=255024504k = 2550 - 2450 4k=1004k = 100 k=25k = 25.

We must check if this value of kk is valid for n=50n=50. The condition is 1kn11 \le k \le n-1. 125501=491 \le 25 \le 50-1 = 49. The value k=25k=25 is within the valid range.

The smaller of the numbers on the removed cards is kk. We are asked to find the value of k20k-20. k20=2520=5k-20 = 25 - 20 = 5.