Permutation and Combination Formulas for JEE Main and Advanced
Permutation and combination formulas for JEE Main and Advanced on one page: the counting principles, and with their properties, arrangements with repeats, blocks, gaps and circles, selections with points and lines, integer solutions, distributions, derangements and counting functions, each with the condition under which it holds. The table shows which formulas decided the most questions in recent JEE papers, and section 6 solves ten of them step by step. Permutations and combinations is a Class 11 chapter, and its counting comes back in probability and the binomial theorem.
Which formulas JEE uses most
We read all 55 questions on permutation and combination in our 48 past papers (JEE Main 2025-2026, JEE Advanced 2022-2026) and noted the formulas each solution needs; one question can need several. The formulas used most:
| Formula | Questions |
|---|---|
| with and Pascal's rule | 2545% |
| Arrangements with repeated objects: | 1120% |
| Total minus unwanted, inclusion-exclusion, the block method for "together" | 1120% |
| Fundamental principle of counting: multiply for stages, add for cases | 713% |
| 59% | |
| Points and lines: triangles when are collinear, diagonals | 59% |
| Functions from an -set to an -set: in all, one-one, strictly increasing | 59% |
| Rank of a word in dictionary order | 35% |
Show the other 7
| Formula | Questions |
|---|---|
| with every : solutions | 35% |
| Power of a prime in : | 24% |
| Repetition allowed: | 24% |
| Gap method for "no two together"; no two consecutive from : | 24% |
| Number of subsets of an -set: | 12% |
| Distinct objects into distinct boxes with none empty (inclusion-exclusion) | 12% |
| Dividing into groups of sizes : | 12% |
1. Counting principles, and
If one step can be done in ways and the next step in ways, both steps together can be done in ways. If the job is done one way or another way (separate cases that cannot happen together), add the counts.
| Expression | Equals | Note |
|---|---|---|
| Arrangements of out of different objects: the order counts | ||
| Selections: the order does not count | ||
| So gives or | ||
| Pascal's rule | ||
| Takes a factor out of a sum | ||
| So is largest in the middle: at for even , at for odd | ||
| Hockey-stick sum | ||
| The number of subsets of an -set |
2. Arrangements
| Arrangement | Number | Note |
|---|---|---|
| In a row | different objects | |
| Repetition allowed | places, each filled from the same different objects | |
| Repeated objects | objects in a row: alike of one kind, alike of another, alike of a third | |
| Fixed order | of the objects must come in a given order (the vowels in alphabetical order, say) | |
| Together: the block method | given objects side by side: glue them into one block, arrange the units, then the inside the block | |
| No two together: the gap method | Arrange the other first, then put the objects in different gaps out of the (ends included). Needs . | |
| Around a circle | Turning the whole circle gives the same arrangement | |
| Necklace or garland | Turning it over also gives the same one () | |
| of around a circle | Rotations count as the same; as a necklace it is () |
Write the letters in alphabetical order. Go along the word from the left: at each place, count the words that keep the letters already fixed and put a smaller letter here (arrange the letters still left, dividing by for a letter left times). Add the counts.
3. Selections, points and lines
| Selection | Number | Note |
|---|---|---|
| Subsets | Each of different objects is in or out; at least one object: | |
| From alike objects | alike, alike and alike objects of three kinds: take any number of each, at least one object in all | |
| Divisors of | in primes; and are counted. Their sum: | |
| No two consecutive | numbers from with no two consecutive | |
| Lines through points | of the points on one line and no other three on a line | |
| Triangles from points | The same set-up; with no three on a line it is | |
| Diagonals of an -gon | ||
| Triangles on the corners of an -gon | With no side along a side of the polygon: () | |
| Rectangles in a grid | horizontal and vertical lines. An board has squares. |
4. Distributions, integer solutions and functions
| Distribution | Number | Note |
|---|---|---|
| Identical objects, | Solutions of , which is identical objects into different boxes with empty boxes allowed | |
| Identical objects, | No box empty | |
| Upper limit | Inclusion-exclusion: take away the solutions with some ; stop when | |
| Different objects, any box | different objects into different boxes | |
| Different objects, no box empty | For boxes: | |
| Different objects, identical boxes, none empty | The count above divided by : different books into identical bags, none empty, in ways. Identical objects into identical boxes: list the ways to split by hand. | |
| Groups of sizes , , | , sizes all different, or the groups named (teams X, Y and Z). If unnamed groups have the same size, divide by : sizes give . | |
| Equal groups | objects into unnamed groups of ; given out to people it is | |
| Derangements | No object in its own place: , , , |
For functions from a set with elements to a set with elements:
| Functions | Number | Note |
|---|---|---|
| All functions | ||
| One-one | Needs | |
| Onto | Needs | |
| Strictly increasing | Sets of numbers: choose the values and the order is forced | |
| Non-decreasing | Values may repeat: a selection with repetition |
is the greatest integer function; stop once . The number of zeros at the end of is the power of in it.
5. Exam traps
- Order matters (arrangements, numbers, queues): . Order does not matter (committees, teams, selections): .
- Identical or different objects, identical or different boxes: four different counts. Decide this first.
- "Not all together" is total minus all together; "no two together" is the gap method. They are different questions.
- A number cannot start with : take away the arrangements that do.
- Around a circle with unmarked seats it is , not (numbered seats: ). Divide by only when turning over gives the same arrangement (necklace, garland).
- Equal groups that are not named: divide by . Named groups or groups given to people: do not.
- In dictionary rank, sort the letters first and divide by for repeated letters still left.
- With collinear points: triangles are lost, and lines become line.
6. Past-paper questions, solved
Ten questions from our past papers, chosen to cover the formulas used most. The question and the answer key are as set in the paper; the working is ours.
The number of ways, of forming a queue of boys and girls such that all the girls are not together, is:
- All queues of the people: .
- Queues with all girls together: glue them into one block, arrange the units in ways and the girls inside the block in ways: .
- Girls not all together: . (In the question, "all the girls are not together" means not all three together.)
Answer key (D)
The number of ways, boys and girls can sit in a row so that either all the boys sit together or no two boys sit together, is ________.
- All boys together: the block of boys and the girls make units, arranged in ways; the boys inside the block in ways. That gives .
- No two boys together: seat the girls in ways. They leave gaps (the two ends included), one boy in each: ways. That gives .
- The two cases cannot happen together, so add them: .
Answer key 17280
The letters of the word "UDAYPUR" are written in all possible ways with or without meaning and these words are arranged as in a dictionary. The rank of the word "UDAYPUR" is :
- Letters in alphabetical order: A, D, P, R, U, U, Y (U twice).
- Words starting with A, D, P or R: each leaves letters with U twice, so words each, in all.
- Words starting with U: the letters left are A, D, P, R, U, Y, all different. A second letter smaller than D is only A: words. Total so far .
- After UD the next letter A is the smallest left: no words. After UDA the letters left are P, R, U, Y, and P, R and U are smaller than Y: words. Total .
- After UDAY the next letter P is the smallest left. After UDAYP the letters left are R and U, and R is smaller than U: word (UDAYPRU). Total .
- So UDAYPUR is word number .
Answer key (A) 1580
The number of seven-digit numbers, that can be formed by using the digits and such that each digit is used at least once, is :
- Seven places, five digits, each digit at least once: the digit counts are (one digit three times) or (two digits twice).
- One digit three times: choose it in ways and arrange the seven digits in ways: .
- Two digits twice: choose them in ways and arrange in ways: .
- Total: . The onto formula agrees: .
Answer key (C)
There are 12 points in a plane, no three of which are in the same straight line, except 5 points which are collinear. Then the total number of triangles that can be formed with the vertices at any three of these 12 points is
- Any of the points: choices.
- Three of the collinear points give no triangle: choices.
- Triangles: .
Answer key (D)
The number of ways, in which 16 oranges can be distributed to four children such that each child gets at least one orange, is
- Take the oranges as identical (the usual reading; the key agrees) and the children as different, so count the solutions of with every .
Answer key (D) 455
The number of ways to distribute identical red pens and identical blue pens among four persons such that each person gets pens, is _____________.
- Each person gets pens, so once the red pens are given out the blue ones are fixed: person gets red and blue pens.
- So count with . The blue pens then add up to by themselves.
- Without the upper limit: solutions. With , put : then has solutions. The same holds for each of the people, and two people cannot both have or more.
- Number of ways: .
Answer key 206
A person has three different bags and four different books. The number of ways, in which he can put these books in the bags so that no bag is empty, is
- Each book goes into one of the bags: ways.
- Take away the ways with a given bag empty, , and add back the ways with two given bags empty (taken away twice), .
- No bag empty: . Directly: two books share a bag ( ways), then the three groups go to the three bags in ways: .
Answer key (B)
A group of 9 students, , is to be divided to form three teams , and of sizes 2, 3, and 4, respectively. Suppose that cannot be selected for the team , and cannot be selected for the team . Then the number of ways to form such teams, is ______.
- Without restrictions: ways (the teams are named, so nothing more to divide).
- in X: one more member for X from the other , then of the remaining for Y: .
- in Y: two more members for Y from , then of the remaining for X: .
- Both: one more for X from , then two more for Y from the remaining : .
- Allowed: .
Answer key 665
The largest , for which divides , is :
- and the sum stops there, since .
- So the largest is .
Answer key (A) 16
Every formula on this page is checked with a computer algebra system, and every worked answer is recomputed and matched with the answer key. Past papers: JEE Main 2025-2026, JEE Advanced 2022-2026; the questions were read by hand (lists checked 2026-10-15).
Learn each topic in depth
Notes, derivations, solved examples and the past-paper questions on each topic.
More maths formula pages
- Probability formulasAddition rule, conditional probability, Bayes' theorem, mean and variance, the binomial distribution.
- Integration formulasStandard integrals, the methods, definite-integral properties, the Leibniz rule and limit of a sum.
- Matrices and Determinants formulasAdjoint, inverse, determinant properties, powers of a matrix and systems of equations.
Practise questions like these
Concept-wise questions with instant solutions, and full mock tests, on Fundamenthol.