Scandium, yttrium, the lanthanides and the actinides