Let $A$ be a set of $n(\geq 3)$ distinct elements. For $x, y, z \in A$, if $A^3$ is the set of all ordered triplets $(x, y, z)$, then the number of triplets of $A^3$ in which at least two among $x, y, z$ are equal is
- (1)
$nP_3$
- (2)
$n^2 - nP_3$
- (3)
$3n^2 - 2n$
- (4)
$3n^2(n-1)$
Show answer
Option (3) is correct.
The council's preliminary key