function lambda = fibonacci3_eigenvalues ( n )

%*****************************************************************************80
%
%% fibonacci3_eigenvalues() returns the eigenvalues of the FIBONACCI3 matrix.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    17 October 2007
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the order of A.
%
%  Output:
%
%    complex LAMBDA(N,1), the eigenvalues.
%
  lambda = zeros ( n, 1 );

  for i = 1 : n
    angle = i * pi / ( n + 1 );
    lambda(i,1) = complex ( 1.0, 2.0 * cos ( angle ) );
  end

  return
end
