Skip to main content

P(n, k)

p(n, k) is the number of ways to choose and arrange k objects from n distinct objects when order matters. In combinatorics, it is the permutation count n! / (n-k)!.

Last updated July 2026•Fiveable Content Team

What is p(n, k)?

p(n, k) is the permutation count in Combinatorics for arranging k objects chosen from n distinct objects when order matters. If you care about who is first, second, third, and so on, you are in p(n, k) territory.

The formula is p(n, k) = n! / (n-k)! That works because you are making k ordered choices without replacement. For the first spot, you have n options. For the second, you have n-1 options. You keep going until k positions are filled, which gives n(n-1)(n-2) ... terms down to n-k+1. The factorial formula is just a compact way to write that product.

A small example makes the order part clear. Suppose 5 distinct books are on a shelf and you want to line up 3 of them. If you pick Book A, then Book B, then Book C, that is a different arrangement from Book C, then Book B, then Book A. So p(5, 3) = 5! / 2! = 60.

That is different from combinations, where the same group is counted once no matter how you list it. With p(n, k), swapping two selected items creates a new outcome. That is why rankings, passwords, seating orders, race finishes, and scheduled positions often use this function.

Two edge cases come up a lot. If k = n, then p(n, n) = n!, which is the number of ways to arrange every object. If k = 0, then p(n, 0) = 1, because there is exactly one way to arrange nothing, the empty arrangement.

In multinomial settings, p(n, k) often shows up as a building block. Once you know how to arrange a chosen subset, you can connect that count to splitting objects into groups or filling several labeled positions in a larger counting problem.

Why p(n, k) matters in COMBINATORICS

p(n, k) shows up anytime a combinatorics problem cares about order instead of just selection. That is the difference between asking, "Which items are chosen?" and asking, "Which item goes in which spot?" Many counting mistakes come from ignoring that difference and using combinations when a permutation count is needed.

This term also gives you a fast way to handle ranking and arrangement problems without listing every outcome. If a problem asks how many ways to award gold, silver, and bronze from a group, or how many ways to place 4 people in 4 seats, p(n, k) turns the setup into one clean formula.

It connects directly to multinomial coefficients and the Multinomial Theorem because those topics also track how objects are arranged across labeled slots or groups. When you see a larger counting expression, p(n, k) often appears inside the reasoning as the ordered-selection piece before the final grouping step.

It also trains you to read wording carefully. Phrases like "arrange," "rank," "line up," "assign," and "order" usually signal permutations. Phrases like "choose," "select," or "group" may point to combinations instead. Catching that language is one of the quickest ways to solve counting problems correctly.

Keep studying COMBINATORICS Unit 3

Official unit cheatsheet

open one-pager

How p(n, k) connects across the course

Factorial

The factorial notation is what makes p(n, k) compact. Instead of writing out n(n-1)(n-2) and continuing for k factors, you use n! and (n-k)! to package the product. If you do not feel comfortable simplifying factorial expressions, permutation formulas can look harder than they are.

Combinations

Combinations count selections where order does not matter, while p(n, k) counts ordered arrangements. A common mistake is using a combination count for a ranking or seating problem. If swapping two chosen items creates a new answer, you need permutations, not combinations.

c(n, k)

c(n, k) is the combination notation for choosing k items from n without caring about order. It is the natural comparison term for p(n, k) because both start with the same set of objects but answer different questions. Many word problems become easier once you decide which notation matches the wording.

Multinomial Coefficient

Multinomial coefficients extend the same counting idea to splitting n objects into several labeled groups. p(n, k) often acts like a smaller ordered-selection step inside a multinomial setup. If you can count ordered choices, it is easier to follow how multinomial expressions are built.

Is p(n, k) on the COMBINATORICS exam?

A problem set question will usually ask you to count arrangements, rankings, or ordered selections, and p(n, k) is the move you use when order matters. You may need to identify the correct formula first, then simplify n! / (n-k)! or rewrite it as a product of descending factors. If the prompt says "top 3 finishers," "line up 4 people," or "assign 2 jobs," that is your cue to use a permutation count rather than a combination count.

You may also be asked to explain why the formula works. In that case, describe the decreasing number of choices at each step, not just the final expression. On written work, showing the setup clearly matters as much as getting the number right, especially when the problem is part of a larger counting argument.

P(n, k) vs Combinations

These are the pair students mix up most often. Use p(n, k) when order matters, and use combinations when it does not. If the same group of items can be rearranged into different outcomes, permutations count each arrangement separately, while combinations count the group once.

Key things to remember about p(n, k)

  • p(n, k) counts ordered arrangements of k objects chosen from n distinct objects.

  • The formula is p(n, k) = n! / (n-k)!, which comes from counting the shrinking number of choices at each position.

  • If order changes the outcome, you want p(n, k), not a combination formula.

  • When k = n, p(n, k) becomes n!, and when k = 0, the value is 1.

  • This notation shows up in ranking, seating, scheduling, and other counting problems with labeled positions.

Frequently asked questions about p(n, k)

What is p(n, k) in Combinatorics?

p(n, k) is the number of ways to choose and arrange k items from n distinct objects when order matters. It is the permutation count, written as n! / (n-k)!. You use it when different orders give different outcomes.

How is p(n, k) different from combinations?

p(n, k) counts ordered arrangements, while combinations count unordered selections. For example, picking A, B, and C in that order is different from C, B, and A under p(n, k). If the prompt only cares about which items are chosen, not the order, use combinations instead.

Why is p(n, k) equal to n! / (n-k)!?

The first slot has n choices, the second has n-1 choices, and so on until you fill k slots. Multiplying those choices gives n(n-1) ... (n-k+1), which is the same as n! / (n-k)!. The factorial form is just the shorthand.

Where does p(n, k) show up in class problems?

You will see it in ranking, seating, scheduling, and any problem with ordered positions. It can also appear inside larger counting arguments, especially when a multinomial setup is broken into smaller arrangement steps. If the wording includes arrange, rank, or line up, think permutation.