I kinda know how to get the valence electrons for s/p/d- blocks but i don't know about the f-block.
Wikipedia says that valence electrons for f-block is ns + (n-1)d + (n-2)f, so is it true? If so can you give examples?
This is what Wikipedia shows :
And another question : what's the electronic configuration of palladium Pd ions? If i apply what i know i'll get that $P d^{2+}$ is [Kr] 4d^8 , so is it right?