Abstract
A p-filiform Lie algebra g is a nilpotent Lie algebra for which Goze’s invariant is (n–p,1,…,1). These Lie algebras are well known for P ≥ n-4n = dim(g). In this paper we describe the p-filiform Lie algebras, for p = n-5 and we gjive their classification when the derived subalgebra is maximal.