Problem #WSP-5604

Problems Combinatorics

Problem

You are creating passwords of length \(8\) using only the letters \(A\), \(B\), and \(C\). Each password must use all three letters at least once.

How many such passwords are there?