From n= k=l Ft,n-l(ll,''', Ir)sgr-k, where 1 is a x matrix and 11,"', L are the invariants of (elementary symmetric functions of the eigenvalues), we first derive a formula for f(). Then we obtain the generating functions for the Fk,, and thence for the generalized Lucas polynomials F.,, n -l.