Alloys characterised by their composition containing rare earth metals and magnetic transition metals, e.g. SmCo5 and Va elements, e.g. Sm2Fe17N2