Is it true that:
Any rational function $f$ on $\mathbb{C}^2$ that vanishes on $S=\{(x,y)\in\mathbb{C}^2 : x=ny \text{ for some } n \in \mathbb{Z}\}$ must be identically zero.
I have a theorem that says any rational function that vanishes on an open set in Zariski topology must be identically zero, but I can't seem to prove that $S$ is open. Actually, I don't even think $S$ is open.