The following question was asked in JEE Advanced 2014 Paper I:
A pack contains $n$ cards numbered sequentially from $1$ to $n$. Two consecutive cards are removed from the pack and the sum of the numbers on the remaining cards is $1224$. If the number on the smaller card is $k$, then what is the value of $k-20$?
I could construct only one equation from this information:
$$\frac{n(n+1)}2-2k-1=1224$$
How should I proceed from here to solve this problem?
Hint: Note that $0 < k \le n-1$.
This means $${n (n+1) \over 2} > 1225$$
and $${n(n+1) \over 2} \le 1224 + 2n - 1 < 1224 + 2n.$$
Can you take it from here?