AbstractIf {\mathfrak{X}} is a class of groups, define a sequence of group classes {\mathfrak{X}_{1},\mathfrak{X}_{2},\ldots,\mathfrak{X}_{k},\ldots} by putting {\mathfrak{X}_{1}=\mathfrak{X}} and choosing {\mathfrak{X}_{k+1}} as the class of all groups whose non-permutable subgroups belong to {\mathfrak{X}_{k}}.
In particular, if {\mathfrak{A}} is the class of abelian groups, {\mathfrak{A}_{2}} is the class of quasimetahamiltonian groups, i.e. groups whose non-permutable subgroups are abelian.
The aim of this paper is to study the structure of {\mathfrak{X}_{k}}-groups, with special emphasis on the case {\mathfrak{X}=\mathfrak{A}}.
Among other results, it will also be proved that a group has a finite normal subgroup with quasihamiltonian quotient if and only if it is locally graded and belongs to {\mathfrak{A}_{k}} for some positive integer k.