According to Moseley’s law, the frequency (ν) of the Kα line and the atomic number (z) of the element have the relation (A and B) are constants
νZ-A=B
ν(Z-A)=B(Z–A) = B
ν(Z–A)2 = B
Moseley's law says ν is proportional to Z atomic number