function padovan_test ( )

%*****************************************************************************80
%
%% padovan_test() tests padovan().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  n = 10;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'padovan_test():\n' );
  fprintf ( 1, '  padovan() computes the Padovan numbers.\n' );
  fprintf ( 1, '\n' );

  p = padovan ( n );

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

  for i = 1 : n
    fprintf ( 1, '  %4d  %8d\n', i-1, p(i) );
  end

  return
end
