function padovan_test ( )

%*****************************************************************************80
%
%% PADOVAN_TEST tests PADOVAN.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL 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
