OFFSET
6,1
COMMENTS
Also floor of the expected value of number of trials until we have n-5 distinct symbols in a random sequence on n symbols of length n. A055775 corresponds to zero cells empty.
REFERENCES
W. Feller, An Introduction to Probability Theory and its Applications, 2nd ed, Wiley, New York, 1965, (2.4) p. 92. (Occupancy problems)
LINKS
W. Bomfim, Table of n, a(n) for n = 6..100
FORMULA
With m = 5, a(n) = floor(n^n/(binomial(n,m)*_Sum{v=0..n-m-1}((-1)^v*binomial(n-m,v)*(n-m-v)^n)))
EXAMPLE
For n=6, there are 6^6 = 46656 sequences on 6 symbols of length 6. Only 6 sequences has a unique symbol, so a(6) = floor(46656/6) = 7776.
CROSSREFS
KEYWORD
nonn
AUTHOR
Washington Bomfim, Mar 18 2012
STATUS
approved