function pell_number_test ( )

%*****************************************************************************80
%
%% pell_number_test() tests pell_number().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    13 December 2023
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'pell_number_test():\n' );
  fprintf ( 1, '  pell_number() evaluates the N-th Pell number.\n' );
  fprintf ( 1, '\n' );

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

  for n = 0 : 10
    pn = pell_number ( n );
    fprintf ( 1, '  %2d  %6d\n', n, pn );
  end

  return
end
