The Lie algebra L can be given either from its structure constants or from its infinitesimal generator representation.
LowerCentralSeries returns the sequence of ideals L2 Li where, Li+1=[L, Li], i≥1 and L1=L. The second argument specifies whether a portion or a specific member of the chain will be returned.