function tribonacci_recursive_test ( )

%*****************************************************************************80
%
%% tribonacci_recursive_test() tests tribonacci_recursive().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 January 2016
%
%  Author:
%
%    John Burkardt
%
  n = 20;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'tribonacci_recursive_test()\n' );
  fprintf ( 1, '  tribonacci_recursive() computes the Tribonacci sequence.\n' );
  fprintf ( 1, '\n' );
 
  f = tribonacci_recursive ( n );
 
  for i = 1 : n
    fprintf ( 1, '  %4d  %8d\n', i, f(i) );
  end

  return
end
