$U\subseteq \mathbb{C}$ open and connected, $f : U \rightarrow \mathbb{C}$ complex analytic function.
Suppose $f(z) = u(x, y) + iv(x, y)$, $z = x + iy$, and $u$ and $v$ are real-valued functions.
Suppose that $v$ only takes integer values on $U$.
Using the Cauchy–Riemann equations and the fundamental theorem of the calculus, show $f$ is constant.
I'm not really sure what is meant by "$v$ only takes integer values on $U$". Does it mean that $v(x,y)=c$ for all $x,y \in U$ or does it mean that $v(x,y)=A(x)B(y)$ such that it equals an integer for all $x,y$?
I'm also just unsure in general how to use Cauchy Riemann and FTC to show f is constant.
You also need the assumption that $U$ is connected. First, note that $v$ must be continuous. Since it has integer values, it is constant. Then, using Cauchy-Riemann equations,
$$ \partial_x u = \partial_y v = 0$$
so
$$f'(x+iy) = \partial_x u (x,y) + \partial_x v (x,y) = 0$$
everywhere on $U$.
Note that connected implies path-connected. Fix $z_0 \in U$. For $z \in U$, choose a path $\sigma: [0,1] \to U$ from $z_0$ to $z$. Then,
$$f(z) - f(z_0) = \int_\sigma f'(z) dz = 0 $$