function mean = runs_mean ( m, n )

%*****************************************************************************80
%
%% runs_mean() returns the mean of the Runs PDF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 January 2007
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, N, the parameters of the PDF.
%
%  Output:
%
%    real MEAN, the mean of the PDF.
%
  mean = ( m + 2 * m * n + n ) / ( m + n );

  return
end
