Skip to content
dronacharya.ai
JEE Main 2025MathematicsInteger+4 / -1

JEE Main 2025 Maths Q21: Fundamental principle of counting

From the JEE Main 2025 · 7 Apr · Shift 1 paper. Try it, check your answer, then read the worked solution below.

For n≥2n\ge2, let SnS_n denote the set of all subsets of {1, 2, ..., n} with no two consecutive numbers. For example {1, 3, 5} ∈ S6S_6, but {1, 2, 4} ∉ S6S_6. Then n(S5)n(S_5) is equal to ________

Answer and worked solution

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

Official answer13

Worked solution

Let ana_n count such subsets of {1, ..., n} (including the empty set). A subset either omits n (an−1a_{n-1} ways) or contains n and omits n − 1 (an−2a_{n-2} ways), so an=an−1+an−2a_n=a_{n-1}+a_{n-2} with a1=2a_1=2, a2=3a_2=3.

a3=5a_3=5, a4=8a_4=8, a5=13a_5=13.

Answer: 13

Concepts used: Fibonacci recurrence for subsets

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 (Fundamental principle of counting), 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.