[step:Evaluate the limiting Perron kernel][claim:Kernel limit]
For every $y>0$,
\begin{align*}
\lim_{T\to\infty}K_T(y)
=
\begin{cases}
1, & y>1,\\
\frac{1}{2}, & y=1,\\
0, & 0<y<1.
\end{cases}
\end{align*}
Moreover, there exists a constant $C_c>0$, depending only on $c$, such that
\begin{align*}
|K_T(y)|\leq C_c y^c
\end{align*}
for all $T\geq 1$ and all $y>0$.
[/claim]
[proof]
Write $\lambda=\log y$. If $y=1$, then
\begin{align*}
K_T(1)
&=
\frac{1}{2\pi}\int_{-T}^{\,T}\frac{1}{c+it}\,d\mathcal{L}^1(t) \\
&=
\frac{1}{2\pi}\int_{-T}^{\,T}\frac{c-it}{c^2+t^2}\,d\mathcal{L}^1(t).
\end{align*}
The odd part integrates to $0$, and hence
\begin{align*}
K_T(1)
=
\frac{1}{2\pi}\int_{-T}^{\,T}\frac{c}{c^2+t^2}\,d\mathcal{L}^1(t)
=
\frac{1}{\pi}\arctan(T/c)
\to
\frac{1}{2}.
\end{align*}
Assume next that $y\neq 1$. The function
\begin{align*}
G_y:\mathbb{C}\setminus\{0\} &\to \mathbb{C} \\
s &\mapsto \frac{y^s}{s}
\end{align*}
is holomorphic away from the simple pole at $s=0$, where the residue is $1$. If $y>1$, let $R>0$ and close the segment from $c-iT$ to $c+iT$ by the positively oriented rectangle with left side $\operatorname{Re}(s)=-R$. On that rectangle, $|y^s|=y^{\operatorname{Re}(s)}$, so the left vertical side tends to $0$ as $R\to\infty$. On the horizontal sides, writing $s=\sigma\pm iT$ with $-R\leq \sigma\leq c$, we have $|s|\geq T$ and therefore
\begin{align*}
\int_{-R}^{c}\left|\frac{y^{\sigma\pm iT}}{\sigma\pm iT}\right|\,d\mathcal{L}^1(\sigma)
&\leq
\frac{1}{T}\int_{-R}^{c}y^\sigma\,d\mathcal{L}^1(\sigma) \\
&\leq
\frac{y^c}{T\log y}.
\end{align*}
Thus, after first letting $R\to\infty$ and then $T\to\infty$, the added sides contribute $0$. The enclosed pole at $s=0$ contributes residue $1$ by the [Residue Theorem](/theorems/352), so
\begin{align*}
\lim_{T\to\infty}K_T(y)=1.
\end{align*}
If $0<y<1$, let $R>c$ and close the segment to the right with right side $\operatorname{Re}(s)=R$. Since $y^R\to 0$ as $R\to\infty$, the right vertical side tends to $0$. On the horizontal sides, writing $s=\sigma\pm iT$ with $c\leq \sigma\leq R$, we have $|s|\geq T$ and hence
\begin{align*}
\int_{c}^{R}\left|\frac{y^{\sigma\pm iT}}{\sigma\pm iT}\right|\,d\mathcal{L}^1(\sigma)
&\leq
\frac{1}{T}\int_c^R y^\sigma\,d\mathcal{L}^1(\sigma) \\
&\leq
\frac{y^c}{T|\log y|}.
\end{align*}
The positively oriented right-closing rectangle traverses the original vertical segment downward, from $c+iT$ to $c-iT$, so its vertical contribution is the negative of the segment defining $K_T(y)$. Since the rectangle encloses no pole, because $s=0$ lies to the left of the line $\operatorname{Re}(s)=c>0$, the sum of all four contour integrals is $0$. The added sides vanish after first letting $R\to\infty$ and then $T\to\infty$, and therefore the original upward vertical integral has limit $0$:
\begin{align*}
\lim_{T\to\infty}K_T(y)=0.
\end{align*}
It remains to prove the uniform domination. Define
\begin{align*}
H_T:\mathbb{R} &\to \mathbb{C} \\
\lambda &\mapsto \frac{1}{2\pi}\int_{-T}^{\,T}\frac{e^{it\lambda}}{c+it}\,d\mathcal{L}^1(t).
\end{align*}
We prove that there is a constant $C_c>0$, depending only on $c$, such that $|H_T(\lambda)|\leq C_c$ for every $T\geq1$ and every $\lambda\in\mathbb{R}$. Pairing the terms at $t$ and $-t$ gives
\begin{align*}
H_T(\lambda)
=
\frac{1}{\pi}\int_0^{\,T}\frac{c\cos(t\lambda)+t\sin(t\lambda)}{c^2+t^2}\,d\mathcal{L}^1(t).
\end{align*}
The cosine contribution satisfies
\begin{align*}
\left|\frac{1}{\pi}\int_0^{\,T}\frac{c\cos(t\lambda)}{c^2+t^2}\,d\mathcal{L}^1(t)\right|
\leq
\frac{1}{\pi}\int_0^\infty\frac{c}{c^2+t^2}\,d\mathcal{L}^1(t)
=
\frac{1}{2}.
\end{align*}
For the sine contribution, define
\begin{align*}
b_c:[0,\infty)&\to\mathbb{R} \\
t&\mapsto \frac{t}{c^2+t^2}.
\end{align*}
The map $b_c$ is absolutely continuous, increases on $[0,c]$, decreases on $[c,\infty)$, and satisfies
\begin{align*}
\|b_c\|_{L^\infty([0,\infty))}=\frac{1}{2c},
\qquad
\operatorname{Var}_{[0,\infty)}(b_c)=\frac{1}{c}.
\end{align*}
If $|\lambda|\geq1$, [integration by parts](/theorems/2098) on each interval of monotonicity, applied to the absolutely continuous primitive $t\mapsto -\cos(t\lambda)/\lambda$ of $\sin(t\lambda)$, gives
\begin{align*}
\left|\int_0^{\,T} b_c(t)\sin(t\lambda)\,d\mathcal{L}^1(t)\right|
\leq
\frac{2\|b_c\|_{L^\infty([0,\infty))}+\operatorname{Var}_{[0,\infty)}(b_c)}{|\lambda|}
\leq
\frac{2}{c}.
\end{align*}
If $0<|\lambda|<1$, set $u=|\lambda|t$ and $\beta=c|\lambda|$. The sine contribution has absolute value
\begin{align*}
\left|\int_0^{|\lambda|T}\frac{u\sin u}{\beta^2+u^2}\,d\mathcal{L}^1(u)\right|.
\end{align*}
On $[0,1]$ this is at most $1$. On $[1,\infty)$ the function $u\mapsto u/(\beta^2+u^2)$ has total variation at most $2$ uniformly for $0<\beta<c$, and the primitive of $\sin u$ is bounded by $2$ on every interval. The Dirichlet integration-by-parts estimate therefore gives a bound at most $4$ on the part over $[1,|\lambda|T]$. Thus the sine contribution is bounded by $5$ when $0<|\lambda|<1$, and it is $0$ when $\lambda=0$. Hence
\begin{align*}
|H_T(\lambda)|\leq \frac{1}{2}+\frac{1}{\pi}\max\left\{\frac{2}{c},5\right\}=:C_c
\end{align*}
for all $T\geq1$ and all $\lambda\in\mathbb{R}$. Since $K_T(y)=y^cH_T(\log y)$, this proves
\begin{align*}
|K_T(y)|\leq C_c y^c
\end{align*}
for all $T\geq1$ and all $y>0$.
[/proof]
Applying the claim with $y=x/n$ gives, for each $n\in\mathbb{N}$,
\begin{align*}
\lim_{T\to\infty}K_T(x/n)
=
\begin{cases}
1, & n<x,\\
\frac{1}{2}, & n=x,\\
0, & n>x.
\end{cases}
\end{align*}[/step]