Many carbodiimide compounds exhibit layered structures with an alternating sequence of cations and anions, for example such a structure is adopted by a series of rare earth (RE) compounds RE2(CN2)3 with different space groups, C2/m for Y, Ce–Tm, except Pm, and R3c for Tm, Yb, Lu