% LMex020615_4th.m
% Example 2.6.15 p 103 in
% Larsen & Marx (2006) Introduction to Mathematical Statistics, 4th edition
% Writtten by Eugene Gallagher, Eugene.Gallagher@umb.edu
% http://alpha.es.umb.edu/faculty/edg/files/edgwebp.html
% Written 1/15/2011 & last revised 1/16/2011
% How many different ways are there to arrange a set of different letters
% (see DATA for pattern)?
DATA=[9 9 5 repmat(1,1,97)];
Permutations=exp(sum(DATA)*brillouin(DATA));
