سوال ۱۱۶ کنکور ارشد علوم کامپیوتر ۱۳۹۸
به چند طریق میتوان ۷ مهره رُخ یکسان را در یک صفحه شطرنجی ۸×۸ قرار داد بهطوری که هیچ دوتایی از آنها همدیگر را تهدید نکنند؟ (یعنی هیچ دو مهرهای در یک سطر یا در یک ستون نباشند)
پاسخ صحیح: گزینهٔ C — ۸ × ۸!
We must place identical, mutually non-attacking rooks on an board. Non-attacking means no two share a row or a column, so the rooks occupy distinct rows and distinct columns.
Step 1 — choose the rows. Pick which of the rows are used:
Step 2 — choose the columns. Pick which of the columns are used:
Step 3 — match rows to columns. The chosen rows must be matched bijectively to the chosen columns (one rook per chosen row, in a distinct chosen column). That is a permutation of objects:
Since the rooks are identical, no extra factor for ordering the pieces is needed. By the multiplication principle:
Now rewrite this to match an option. Since , so the count equals — option 3.
Numerically, , which agrees with .
Exam trick: For non-attacking rooks on an board the count is (choose rows, choose columns, then a bijection). Here gives . The tempting wrong answer forgets that one column is also left empty (it counts only the row choice × permutation), and forgets one of the two free choices entirely.