function dist_num = dist_enum ( m, n )

%*****************************************************************************80
%
%% DIST_ENUM returns the number of distributions of indistinguishable objects.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    27 November 2015
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, integer M, the number of distinguishable "slots".
%
%    Input, integer N, the number of indistinguishable objects.
%
%    Output, integer DIST_NUM, the number of distributions of N
%    indistinguishable objects about M distinguishable slots.
%
  dist_num = i4_choose ( m + n - 1, n );

  return
end
