Consider the construction of a string of characters which is C characters in length, by randomly selecting from an N-character alphabet (selecting randomly
with replacement).
If the probability that all characters are distinct equals the probability that exactly one character appears twice but all the other characters appear just once, then what is the number of characters in the alphabet?
Find N in terms of C.