The radius of a nucleus, R is related to its atomic number A as:
R=R0A31
where R0 is the nuclear radius of hydrogen.
Thus, the density of a nucleus is given by:
d=34π(R0A31)3μA=4πR033μ=Constant
(Here, μ is atomic mass unit)
Hence, the ratio of nuclear density of oxygen to helium nucleus is 1:1