Mathematics · Permutations and Combinations

JEE Main 2024 — 29 Jan — Evening Shift — Question 2

Number of ways of distributing 8 identical books among 4 identical shelves, where any number of shelves may remain empty, is equal to

  1. Option A:

    18

  2. Option B:

    16

  3. Option C:

    12

  4. Option D:

    15

    Correct

Answer: D

Step-by-step solution

Because books and shelves are identical, count integer partitions of 8 into at most 4 positive parts.

One nonempty shelf: (8) -> 1 way.

Two nonempty shelves: (7,1),(6,2),(5,3),(4,4) -> 4 ways.

Three nonempty shelves: (6,1,1),(5,2,1),(4,3,1),(4,2,2),(3,3,2) -> 5 ways.

Four nonempty shelves: (5,1,1,1),(4,2,1,1),(3,3,1,1),(3,2,2,1),(2,2,2,2) -> 5 ways.

Total ways = 1+4+5+5 = 15.

Answer: D

Answer key and solution verified before publishing.

Practise Permutations and Combinations

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Main 2024
Subject
Mathematics
Chapter
Permutations and Combinations
Topic
Distribution of Objects into Groups