Alloys characterised by their composition containing rare earth metals and magnetic transition metals, e.g. SmCo5 and Va elements, e.g. Sm2Fe17N2 {of rhombic or rhombohedral Th2Zn17 structure or hexagonal Th2Ni17 structure}