function i4vec2_print_test ( )

%*****************************************************************************80
%
%% I4VEC2_PRINT_TEST tests I4VEC2_PRINT.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    29 February 2016
%
%  Author:
%
%    John Burkardt
%
  n = 10;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'I4VEC2_PRINT_TEST\n' );
  fprintf ( 1, '  I4VEC2_PRINT prints a pair of I4VECs\n' );

  for i = 0 : n
    a(i+1) = ( i * ( i + 1 ) ) / 2;
    b(i+1) = ( i * ( i + 1 ) * ( 2 * i + 1 ) ) / 6;
  end

  i4vec2_print ( n + 1, a, b, '  I, sum of I, sum of I^2:' );

  return
end
