Suppose $f: \mathbb{R} \to \mathbb{R}$ is a function. For $k \in \mathbb{Z}^+$, let $$G_k = \{a\in\mathbb{R}: \textrm{there exists $\delta > 0$ such that $|f(b) - f(c)| < \frac{1}{k}$ for all $b,c, \in (a-\delta, a+\delta)$}\}.$$ Prove that $G_k$ is an open subset of $\mathbb{R}$ for each $k \in \mathbb{Z}^+$.
I've observed that each $a \in G_k$ is contained in an open interval $(a-\delta, a+\delta)$ for some $\delta$, but I am not sure how to show that $G_k$ is an open subset for EACH $k \in \mathbb{Z}^+$. I am trying to show that each $a$ is contained in an open cube contained in $G_k$ which is sufficient enough to conclude that $G_k$ is open, but how can I connect all of this together? Am I on the right track or am I overlooking something?