\documentclass[11pt,letterpaper]{amsart} \usepackage[margin=1in]{geometry} \usepackage[T1]{fontenc} \usepackage{lmodern,microtype,amsmath,amssymb,amsthm,mathtools} \usepackage{enumitem,booktabs} \usepackage[hidelinks]{hyperref} \numberwithin{equation}{section} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \newtheorem{example}[theorem]{Example} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \newcommand{\N}{\mathbb N} \newcommand{\Z}{\mathbb Z} \newcommand{\Q}{\mathbb Q} \newcommand{\R}{\mathbb R} \newcommand{\C}{\mathbb C} \newcommand{\eps}{\varepsilon} \DeclareMathOperator{\lcm}{lcm} \DeclareMathOperator{\supp}{supp} \DeclareMathOperator{\dist}{dist} \DeclareMathOperator{\diag}{diag} \title[Two frequency extrema over $\{1,3\}$]{Two exact frequency extrema\\for smooth sequences over $\{1,3\}$} \author{Will Howe} \email{howew@purdue.edu} \author{Grant Huffman} \email{huffma97@purdue.edu} \author{Jensen Kohlmeyer} \email{jenwin@purdue.edu} \author{Liam Kruer} \email{kruerl@purdue.edu} \thanks{Prepared with AI assistance from OpenAI Codex in mathematical exploration, checking, and manuscript preparation.} \date{November 7, 2026} \begin{document} \begin{abstract} Using the frequency coding of Jamet, Marcovici, Poirier, and de la Rue, we determine the largest frequency of $1$ in a smooth sequence over $\{1,3\}$ and the largest such frequency below $1/2$. They are $1/2+1/(3+\sqrt5)$ and $1/2-1/(13-\sqrt5)$, respectively. The unique attaining type directives are $1^\infty$ and $0001^\infty$. The proof is an order comparison for two planar homographies. The first value corrects the numerical expression in the stated extremum question. \end{abstract} \maketitle \section{Statement and frequency coding} For a one-sided sequence $w$ over $\{1,3\}$, its derivative $\Delta w$ is the sequence of lengths of its successive maximal constant blocks. A sequence is \emph{smooth} if $\Delta^n w$ is defined and belongs to $\{1,3\}^{\N}$ for every $n\geq0$. Its frequency of $1$, when it exists, is \[ \operatorname{freq}_1(w)= \lim_{N\to\infty}\frac{\#\{0\leq j1/2,\quad 2-t^2=1+t=1/t. \end{equation} In particular $P\in D$, since $t^2+t=1$ and $t^2<1/2$, and \eqref{eq:H} gives $H_+(P)=P$. The all-plus point is therefore $p(+^\infty)=P$. For points in $\R^2$ we use coordinatewise order. \begin{lemma}\label{lem:dominate} Every $q\in\mathcal T$ satisfies $q\leq P$. If $q=p(\sigma)$ and $\sigma\neq+^\infty$, then at least one of these coordinate inequalities is strict. \end{lemma} \begin{proof} Suppose $q=(u,v)\in D$ satisfies $q\leq P$. If $v<0$, the first coordinate of $H_\sigma(q)$ is negative and hence less than $t^2$. If $v\geq0$, then \[ \frac{v}{2-u}\leq\frac{t}{2-t^2}=t^2. \] For the second coordinate, the minus sign gives a negative number, while the plus sign gives \[ \frac1{2-u}\leq\frac1{2-t^2}=t. \] Thus both sign maps carry $\{q\in D:q\leq P\}$ into itself. Because $(0,0)\leq P$, the finite compositions in \eqref{eq:recurrence} are bounded above by $P$, and taking limits proves the first assertion. We also need a strictness observation. If $q\leq P$ and $u0$ on $D$, for instance from $u\leq1/2$ and $v\leq1$. Frequencies below $1/2$ correspond exactly to a first minus sign; none equals $1/2$. \begin{lemma}\label{lem:Xextrema} On $\mathcal T$ the function $X$ has extrema \[ \max X=2-t,\qquad \min X=t-2. \] The maximizing directive is uniquely $+^\infty$ and the minimizing directive is uniquely $--+^\infty$. \end{lemma} \begin{proof} The coefficients of $X$ are positive, so Lemma~\ref{lem:dominate} gives \[ X(q)\leq X(P)=2t^2+t=2-t, \] with equality exactly for the all-plus directive. Corollary~\ref{cor:box} also gives \[ X(q)\geq-2t^2-t=t-2. \] Equality forces $q=-P$. To identify its directive, write $q=H_\sigma(r)$. The second coordinate $q_v=-t$ forces $\sigma=-1$ and $r_u=t^2$. The first coordinate $q_u=-t^2$ then forces $r_v=-t$, because $t^2(2-t^2)=t$. Next write $r=H_\eta(z)$. Its second coordinate again forces $\eta=-1$ and $z_u=t^2$; its first coordinate $r_u=t^2$ forces $z_v=t$. Thus $z=P$. By Lemma~\ref{lem:dominate} its directive is $+^\infty$. Conversely, direct substitution gives $H_-H_-(P)=-P$. The minimum is therefore attained exactly by $--+^\infty$. \end{proof} \section{Evaluation of the frequency extrema} \begin{proof}[Proof of Theorem~\ref{thm:main}] The existence of every frequency and the realization of every directive follow from Theorem~\ref{thm:coding}. It remains to optimize \eqref{eq:branch} over its two branches. On the plus branch, the right-hand side of \eqref{eq:branch} is a strictly increasing function of $X(u,v)$. Lemma~\ref{lem:Xextrema} therefore gives \[ \max_{q\in\mathcal T} f(H_+(q)) =\frac12+\frac1{2(4-(2-t))} =\frac12+\frac1{2(2+t)} =\frac12+\frac1{3+\sqrt5}. \] Every minus-branch value is less than $1/2$, so this is the global maximum. Equality forces a first plus sign and the all-plus tail, which gives the unique directive $1^\infty$. On the minus branch, \eqref{eq:branch} is a strictly decreasing function of $X(u,v)$. Thus \[ \max_{q\in\mathcal T} f(H_-(q)) =\frac12-\frac1{2(4-(t-2))} =\frac12-\frac1{2(6-t)} =\frac12-\frac1{13-\sqrt5}. \] This branch is exactly $F\cap[0,1/2]$. Equality forces the tail $--+^\infty$, so the full directive is $---+^\infty$, or $0001^\infty$ in the binary convention. This proves both assertions. \end{proof} \begin{corollary}\label{cor:gap} The open interval \[ \left(\frac12-\frac1{13-\sqrt5},\, \frac12+\frac1{13-\sqrt5}\right) \] contains no point of $F$. Both endpoints belong to $F$. The upper endpoint has unique type directive $1001^\infty$. \end{corollary} \begin{proof} At a fixed tail, \eqref{eq:branch} gives $f(H_+(q))=1-f(H_-(q))$. Thus $F$ is invariant under $x\mapsto1-x$, with this reflection obtained by changing only the first sign. Apply Theorem~\ref{thm:main} to the lower half of $F$. The uniqueness assertion follows from the same change of first sign. \end{proof} \begin{remark} The value printed for the global supremum in \cite[Problem 1]{JMPdR} and \cite[Problem 1]{JMPdRshort} is $1/2+2/(3+\sqrt5)$. The maximizing directive stated there is correct, but its value is $1/2+1/(3+\sqrt5)$, as follows already by evaluating \eqref{eq:f} at the fixed point $P$. The lower-half value in those questions agrees with \eqref{eq:lower}. \end{remark} \begin{thebibliography}{2} \bibitem{JMPdR} D.~Jamet, I.~Marcovici, L.~Poirier, and T.~de~la~Rue, \emph{Frequency of patterns in smooth sequences over the alphabet $\{1,3\}$}, arXiv:2604.11387v3, June 29, 2026, \url{https://arxiv.org/abs/2604.11387v3}. \bibitem{JMPdRshort} D.~Jamet, I.~Marcovici, L.~Poirier, and T.~de~la~Rue, \emph{Frequency of Patterns in Smooth Sequences over the Alphabet $\{1,3\}$}, arXiv:2606.13846v1, June 11, 2026, \url{https://arxiv.org/abs/2606.13846v1}. \end{thebibliography} \end{document}