A number theory problem by Jai Gupta

A pack contains N card numbered from1 to N. Two consecutive numbered card are removed from the pack and the sum of the numbers on the remaning cards is 1224.if the smaller of the numbers on the removed cards is K then K-20 is??

Note :an IIT JEE problem 2013


The answer is 5.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

1
2
3
4
5
6
for N in range(1,101):
    for K in range(1,101):
        num = N*(N+1)/2 - 2*K - 1
        if num == 1224:
            print K
            print N

Ansh Bhatt
Nov 2, 2014

N(N+1)/2 - 2K - 1 = 1224........ N(N+1)/2 = 1225 + 2K....... 50 is the smallest value of N which satisfies this equation......... thus we get, 4K = 100.........
thus K - 20 = 5

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...