function tribonacci_recursive_test ( )

%*****************************************************************************80
%
%% TRIBONACCI_RECURSIVE_TEST tests TRIBONACCI_RECURSIVE.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    12 January 2016
%
%  Author:
%
%    John Burkardt
%
  n = 20;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'FTRBONACCI_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
