\section{Two-sided excursions for quadratic conjugates} \label{sec:conjugates} For a real irrational $t$ set \[ C_t(N)=\sum_{k=1}^{N}\bigl(\fr{kt}-\tfrac12\bigr),\qquad C_t(0)=0. \] Let $x,y$ be the two roots of an irreducible quadratic in $\Q[X]$ with positive discriminant. They are real and $x+y\in\Q$. Duke's theorem \cite[Theorem~1]{duke} implies that $|C_x(N)+C_y(N)|$ is unbounded if $x+y\notin\Z$. It applies even to arbitrary irrational arguments with this rational-sum property. The following statement controls the sign when the arguments are conjugate. \medskip \noindent\textbf{Signed excursion theorem.} Let $S(N)=C_x(N)+C_y(N)$. If $x+y\in\Z$, then $S(N)=0$ for every $N$. If $x+y\notin\Z$, then \[ \limsup_{N\to\infty}S(N)=+\infty,\qquad \liminf_{N\to\infty}S(N)=-\infty . \] These conclusions hold on each fixed arithmetic progression of positive step. \subsection*{The mean for conjugate arguments} Beck's mean formula \cite{beck}, in the normalization of Borda \cite[Theorem~1.3 and p.~2017]{borda}, states \[ \frac1M\sum_{N=1}^{M}C_t(N)=E(t)\log M+O_t(1),\qquad E(t)=\lim_{j\to\infty}\frac{\sum_{i=1}^{j}(-1)^ia_i}{12\log q_j}. \] Here $t=[a_0;a_1,a_2,\dots]$ is quadratic irrational, and $p_j/q_j$ are its convergents. Integer translations and negation give $E(t+1)=E(t)$ and $E(-t)=-E(t)$, by the corresponding exact identities for $C_t$. For $t>1$, the continued fraction of $1/t$ starts $[0;a_0,a_1,\dots]$, with denominator $p_j$ at index $j+1$. The alternating sum changes sign up to an additive constant, and $\log p_j=\log q_j+O_t(1)$. Thus $E(1/t)=-E(t)$. Inversion and negation give the same transformation rule on all real irrationals. Since the integer translations, negation and inversion generate the integral unimodular fractional linear transformations, we have \[ E(Mt)=\det(M)\,E(t)\qquad\bigl(M\in{\rm GL}_2(\Z)\bigr). \] The determinant is unchanged when the representing matrix is multiplied by $-1$. By eventual periodicity choose $M\in{\rm GL}_2(\Z)$ making $z=Mx$ purely periodic, with expansion $[\overline{b_0,b_1,\dots,b_{\ell-1}}]$ and $b_i\ge1$. Its conjugate is $z'=My$. Let $D(b)=\left(\begin{smallmatrix}b&1\\1&0\end{smallmatrix}\right)$ and $B=D(b_0)\cdots D(b_{\ell-1})$. The lines spanned by $(z,1)$ and $(z',1)$ are eigenlines of $B$. The reversed word has period matrix $B^{\mathsf T}$. Its positive fixed point is $-1/z'$: the line perpendicular to $(z',1)$ is an eigenline of $B^{\mathsf T}$, and $-10$, and put $s_k=\fr{kp/q}$. Since $\fr{kx}$ is irrational for $k\ge1$, it differs from $s_k$, and \[ \fr{kx}+\fr{ky}-1=s_k-\mathbf 1_{[0,s_k)}(\fr{kx}). \] This proves the assertion for $q=1$. Suppose $q>1$. On $\T=\R/\Z$ with probability Lebesgue measure let $R(z)=z+\alpha$, $\alpha=\fr{qx}$. Let $I_r$ be the half-open circular interval of length $s_r$ starting at $-rx$ for $1\le r0$ independent of $m$. For the same pair the distance is at least $1/q$, while for different pairs the bad approximability of $x$ gives \[ \|ux+v/q\|_{\R/\Z}\ge q^{-1}\|qux\|_{\R/\Z} \ge \frac{c_x}{q^2|u|}\ge\frac{c_x}{q^3m}. \] On either side of each jump take an interval of length $c/(3m)$. The resulting neighborhoods have disjoint interiors, and $F_m$ takes constant values $a,b$ on the two halves with $|a-b|=1$. Since $|a|+|b|\ge1$, each contributes at least $c/(3m)$ to $\|F_m\|_1$. The $2(q-1)m$ jumps give a uniform positive lower bound, contradicting (B). This excludes both kinds of one-sided bounds, proving the two excursions. Every positive integer is within a bounded distance of each fixed arithmetic progression of positive step. The bounded increments of $S$ give the final assertion. \hfill$\square$