Skip to content
dronacharya.ai
JEE Advanced 2018MathematicsNumerical+3

JEE Advanced 2018 Maths Q9: Arithmetic progression

From the JEE Advanced 2018 · Paper 1 paper. Try it, check your answer, then read the worked solution below.

Let XX be the set consisting of the first 2018 terms of the arithmetic progression 1,6,11,…1, 6, 11, \ldots, and YY be the set consisting of the first 2018 terms of the arithmetic progression 9,16,23,…9, 16, 23, \ldots. Then, the number of elements in the set X∪YX \cup Y is _____.

Answer and worked solution

Try it yourself first, then check your working against this.

Official answer3748

Worked solution

Common terms. XX has terms ≡1(mod5)\equiv1\pmod5, up to 1+5⋅2017=100861+5\cdot2017=10086. YY has terms ≡2(mod7)\equiv2\pmod7, from 9 up to 9+7⋅2017=141289+7\cdot2017=14128.

The smallest number that is both ≡1(mod5)\equiv1\pmod5 and ≡2(mod7)\equiv2\pmod7 is 16 (and 16≥916\ge9). The common terms form the AP 16,51,86,…16,51,86,\ldots with difference 35, up to 10086:
⌊10086−1635⌋+1=287+1=288.\left\lfloor\frac{10086-16}{35}\right\rfloor+1=287+1=288.

Union.
∣X∪Y∣=2018+2018−288=3748.|X\cup Y|=2018+2018-288=3748.

Answer: 3748

Concepts used: common terms form an AP with lcm difference, |X ∪ Y| = |X| + |Y| − |X ∩ Y|

Practise this topic

Every past question tagged to the same part of the syllabus, with solutions.

Similar questions from other papers

Past questions on the same topic (Arithmetic progression), each with a worked solution.

full papers
217
questions
18,571
worked solutions
18,550

Sit a paper tonight. See exactly where you stand.

Timed, in the real format, and marked the moment you submit.