Lemma
MediumPermutations & combinations
AQuA-RAT train #76647 · Combinatorics · Permutations & combinations

9 friends are living in 9 different flats of an apartment

9 friends are living in 9 different flats of an apartment. Each of them was allotted a parking spot to park their cars in the ground floor. But they used to park their cars randomly in any of the 9 parking spots. In how many ways can they park their cars so that exactly 7 people park their cars in the spots allotted to them?

This problem repeats another one in the library (at most with different numbers), so it's left out of browsing.

~8 minAnswer checked instantly

AQuA-RAT — Algebra Question Answering with Rationales (Ling et al., DeepMind, 2017) · train #76647

Stuck? A gentle nudge

No hints for this one.

Something off?
Workspace
Your answer

Checked against the answer in AQuA-RAT.