Question: what is the relationship between atomic number and number of spectral lines?
Answer: The number of spectral lines N of an individual element depends on the number of stable states of that element. Elements with a higher number of stable conditions have a higher number of spectral lines, regardless of their number of Z.