function pivot_sequence_num = pivot_sequence_enum ( n )

%*****************************************************************************80
%
%% pivot_sequence_enum() enumerates pivot sequences.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    25 June 2024
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer n: the number of pivot steps.
%
%  Output:
%
%    integer pivot_sequence_num: the number of pivot sequences of n steps.
%
  pivot_sequence_num = factorial ( n );

  return
end
