function benford_pdf_test ( )

%*****************************************************************************80
%
%% BENFORD_PDF_TEST tests BENFORD_PDF.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    03 March 2016
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'BENFORD_PDF_TEST\n' );
  fprintf ( 1, '  BENFORD_PDF evaluates the Benford PDF.\n' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '       N          PDF(N)\n' );
  fprintf ( 1, '\n' );

  for n = 1 : 9
    pdf = benford_pdf ( n );
    fprintf ( 1, '  %6d  %14g\n', n, pdf);
  end

  fprintf ( 1, '\n' );
  fprintf ( 1, '       N          PDF(N)\n' );
  fprintf ( 1, '\n' );

  for n = 10 : 99
    pdf = benford_pdf ( n );
    fprintf ( 1, '  %6d  %14g\n', n, pdf);
  end

  return
end
