\documentclass[11pt]{amsart} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{amsmath,amssymb,mathtools,booktabs,microtype} \usepackage[margin=1.05in]{geometry} \usepackage[hidelinks]{hyperref} \hypersetup{pdftitle={Small-index subsequences in finite cyclic groups}, pdfauthor={Chao Liu},pdfsubject={Research manuscript}, pdfkeywords={index-one, index-r, cyclic group, Jacobsthal function, zero-sum sequence}} \newtheorem{theorem}{Theorem}[section] \newtheorem{proposition}[theorem]{Proposition} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \newtheorem{example}[theorem]{Example} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \newcommand{\ind}{\operatorname{ind}} \newcommand{\supp}{\operatorname{supp}} \newcommand{\ord}{\operatorname{ord}} \newcommand{\rad}{\operatorname{rad}} \newcommand{\lpf}{P^{-}} \newcommand{\U}{\mathrm U} \newcommand{\Z}{\mathbb Z} \newcommand{\N}{\mathbb N} \newcommand{\F}{\mathbb F} \newcommand{\Sig}{\Sigma_0} \newcommand{\res}[2]{[#1]_{#2}} \newcommand{\eulerprod}[1]{\prod_{p\mid #1}(1+p^{-1})} \numberwithin{equation}{section} \allowdisplaybreaks[2] \title[Small-index subsequences in cyclic groups]{Small-index subsequences in finite cyclic groups} \author{Chao Liu} \address{Department of Mathematics, University of Mississippi, USA} \email{chaoliuac@gmail.com} \date{} \subjclass[2020]{11B30, 11B50, 11P70, 20K01} \keywords{Cyclic group, index of a sequence, zero-sum sequence, subsequence sum} \begin{document} \begin{abstract} For $r\ge1$, let $I_r(n)$ be the least length forcing a nonempty zero-sum subsequence of index at most $r$ over the cyclic group $C_n$. We prove $I_r(n)\le n^{1+o(1)}$ when $r\ge C[\omega(n)\log(2\omega(n))]^2$, and $I_1(p^k)\ll(k+1)p^k\log(2p^k)$ for prime powers. We also construct sequences showing that $I_r(n)/n$ is unbounded for every fixed $r$; for $r=1$, all terms may be generators. \end{abstract} \maketitle \section{Introduction and main results} Write $C_n$ additively. A sequence over $C_n$ is a finite multiset; repetitions are allowed. Fix a generator $g$ and write $S=(a_1g)\cdots(a_\ell g)$ with $a_i\in[1,n]\cap\Z$. Its index is \[ \ind(S)=\min_{u\in\U(n)}\frac1n\sum_{i=1}^{\ell}\res{ua_i}{n}, \qquad \U(n)=(\Z/n\Z)^\times, \] where $\res{x}{n}$ is the least positive residue, so $\res0n=n$. For $r\ge1$, a sequence is \emph{index-$r$-free} if it has no nonempty subsequence of index in $\{1,\ldots,r\}$. Following \cite{Liu}, let $I_r(n)$ be the least integer such that every sequence of length at least $I_r(n)$ is not index-$r$-free. In particular, an index-one subsequence is a nonempty subsequence whose positive representatives sum to exactly $n$ in one unit direction. A zero sum modulo $n$ alone does not suffice. The index-one problem originates in work of Lemke and Kleitman \cite{LK}. The proposed equality $I_1(n)=n$ fails for composite orders: Gao, Li, Peng, Plyley and Wang \cite{GLPPW} gave counterexamples, and Liu \cite[Theorem 1.5]{Liu} proved, for fixed $d>1$ and $r\ge1$, that \begin{equation}\label{eq:old-lower} I_r(n)\ge(1+1/d)n-O_{d,r}(\sqrt n) \qquad(d\mid n, n\longrightarrow\infty). \end{equation} Subsequence sums of index-one-free sequences are also studied in \cite{PYL}. We consider the forcing length for arbitrary sequences, including terms of proper additive order. Our first result gives a near-linear forcing length once the allowed index exceeds a bound depending only on the number of distinct prime factors. Write $\omega(n)$ for this number. All constants below are independent of the prime factors and their exponents unless a dependence is displayed, and all logarithms are natural. \begin{theorem}\label{thm:near-linear} There is an absolute constant $C$ such that, for every $\varepsilon>0$, every $n\ge2$ and every integer $r\ge1$, \begin{equation}\label{eq:near-linear-main} r\ge C\bigl[\omega(n)\log(2\omega(n))\bigr]^2 \quad\Longrightarrow\quad I_r(n)\ll_\varepsilon n^{1+\varepsilon}. \end{equation} Moreover, for each integer $k\ge1$, there is an integer $R_k$, depending only on $k$, such that \begin{equation}\label{eq:bounded-prime-main} I_r(n)\ll_k n\log^{k+1}(2n) \qquad\bigl(\omega(n)\le k,\ r\ge R_k\bigr). \end{equation} The implied constants depend only on $\varepsilon$ in \eqref{eq:near-linear-main} and only on $k$ in \eqref{eq:bounded-prime-main}, uniformly in $n$ and $r$. \end{theorem} In particular, one fixed index $R_2$ gives \[ I_{R_2}(p^a q^b)\ll p^a q^b\log^3(2p^a q^b) \] for all distinct primes $p,q$ and all positive integers $a,b$, with no restriction on their relative sizes. This result is unconditional and includes sequences with terms of proper additive order. The proof combines an integer subset-sum interval with a choice of unit controlled by the Jacobsthal function, then sums reciprocal weights over all prime-power valuation classes. For index one we obtain stronger bounds in several arithmetic families, including a conditional refinement under Dirichlet GRH. We also retain a uniform estimate for every allowed index $r$. \begin{theorem}\label{thm:upper} There is an absolute constant $C$ with the following properties. \begin{enumerate} \item For every prime $p$ and every $k\ge1$, with $n=p^k$, \begin{equation}\label{eq:pp-main} I_1(n)\le C(k+1)n\log(2n). \end{equation} In particular $I_1(n)\ll n\log^2(2n)$ uniformly on prime powers, and $I_1(p^k)\ll_k p^k\log(2p^k)$ for each fixed $k$. \item For every $n\ge2$ and every integer $r\ge1$, \begin{equation}\label{eq:general-r-main} n\le I_r(n)\le C\left(n+\frac{n^{3/2}}{\sqrt r}\right). \end{equation} In particular $I_r(n)\ll n^{3/2}/\sqrt r$ for $1\le r\le n$. For index one, writing $P^{-}(n)$ for the least prime divisor, \begin{equation}\label{eq:general-main} I_1(n)\le C\min\left\{n^{3/2},\, n\log(2n)\left(1+\frac{\sqrt n}{P^{-}(n)}\right)\right\}. \end{equation} \item If $p\ne q$ are primes, $a\ge1$, $P=p^a$ and $q\ge P$, then, for $n=Pq$, \begin{equation}\label{eq:mixed-main} I_1(n)\le C n\log(2n) \left(a+1+\frac1p\sqrt{\frac qP}\right). \end{equation} For every $\varepsilon>0$ one also has \begin{equation}\label{eq:weyl-main} I_1(n)\ll_\varepsilon n^{4/3+\varepsilon}. \end{equation} Under the Dirichlet generalized Riemann hypothesis, \begin{equation}\label{eq:grh-main} I_1(n)\ll n\log^3(2n) \end{equation} uniformly throughout this family. \item For every prime $p$, with $n=2p^2$, \begin{equation}\label{eq:twice-square-main} I_1(n)\le Cn\log(2n). \end{equation} This bound is unconditional and includes sequences with nonunit terms. \end{enumerate} \end{theorem} For example, \eqref{eq:general-main} gives $O_{B,k}(n^{3/2-1/k}\log(2n))$ when $n$ has $k\ge2$ prime factors, counted with multiplicity, all in $[x,Bx]$. This gives exponent $7/6$ for balanced $pqr$ and $p^2q$, and exponent $5/4$ for balanced $p^2q^2$. Equation \eqref{eq:mixed-main} gives $O((a+1)n\log(2n))$ throughout $p^a\le q\le p^{a+2}$. In particular the balanced semiprime bound is $O(n\log(2n))$. The family $2p^2$ in \eqref{eq:twice-square-main} is outside the larger-prime hypothesis for odd $p$. Its proof uses a parity-sensitive integer budget and reciprocal weights that sum all valuation classes with a convergent geometric series. The conditional estimate \eqref{eq:grh-main} connects the forcing problem with uniform character-sum estimates for Dirichlet $L$-functions. It holds without an upper restriction on $q/p^a$. For example, for $n=4q$ with $q\ge5$ prime, our unconditional estimate is $O_\varepsilon(n^{4/3+\varepsilon})$, while Dirichlet GRH gives $O(n\log^3(2n))$. Its proof combines character orthogonality with smoothed prime-sum estimates in Section \ref{sec:analytic}. The estimate \eqref{eq:general-r-main} is uniform in the allowed index $r$: it gives $I_r(n)=O(n)$ whenever $r$ is bounded below by a fixed positive multiple of $n$. Exact large-$r$ ranges also follow from known high-multiplicity theorems; see Corollary \ref{cor:large-index}. The lower bounds exhibit a different behavior for general composite orders. Put \[ P(d)=\prod_{p\mid d}(1+1/p),\qquad s=\omega(d), \] where the product and $\omega(d)$ count distinct prime factors. \begin{theorem}\label{thm:divisor-lower} Fix integers $d>1$ and $r\ge1$. For every sufficiently large multiple $n$ of $d$, there is an index-$r$-free sequence over $C_n$ of length \begin{equation}\label{eq:divisor-main} |S|\ge P(d)n-O_{d,r}\bigl(n^{s/(s+1)}\bigr). \end{equation} More explicitly, once $n>(rd^2)^{s+1}$ and $d\mid n$, one may take \begin{equation}\label{eq:divisor-explicit} |S|\ge P(d)n-\bigl(sP(d)+rd^2P(d)+d\bigr)n^{s/(s+1)}. \end{equation} Consequently, for every $M>0$ there exists $d>1$, depending only on $M$, such that for every fixed $r\ge1$, $I_r(n)>Mn$ for all sufficiently large multiples $n$ of $d$. \end{theorem} When $d=p^a$ is a prime power, the leading coefficient $1+1/p$ and the error order in \eqref{eq:divisor-main} agree with \eqref{eq:old-lower} applied with divisor $p$. For several prime divisors the coefficient multiplies: it is $2$ for $d=6$, $12/5$ for $d=30$, and $96/35$ for $d=210$. In particular the conclusion $I_1(n)\le n+n/P^{-}(n)$ proposed in \cite[Conjecture 4.1]{Liu} fails on all sufficiently large multiples of $6$. Section \ref{sec:divisor-lower} gives a concrete index-one-free sequence of length $18000$ over $C_{12000}$. The next result shows that superlinear behavior persists even when every term is a generator. It is independent of Theorem \ref{thm:divisor-lower}. \begin{theorem}\label{thm:unit-lower} There is a sequence $n_j\longrightarrow\infty$ and index-one-free sequences $S_j$ over $C_{n_j}$, all of whose terms have order $n_j$, such that \begin{equation}\label{eq:unit-main} \log\frac{|S_j|}{n_j} =\left(\frac{\log6}{2}+o(1)\right) \frac{\log\log n_j}{\log\log\log n_j}. \end{equation} Thus $I_1(n)$ has no absolute linear upper bound even on sequences consisting only of generators. \end{theorem} As a structural complement, we bound the length in terms of the maximum multiplicity. Write $\sigma_{-3/4}(n)=\sum_{d\mid n}d^{-3/4}$. \begin{theorem}\label{thm:support} Let $S$ be a nonempty index-one-free sequence over $C_n$, of length $N$ and maximum multiplicity $h$. Then \begin{equation}\label{eq:multiplicity-main} N\ll(nh)^{3/4}\sigma_{-3/4}(n), \end{equation} with an absolute implied constant. For every fixed $k\ge1$, if $\omega(n)\le k$, then $N\ll_k(nh)^{3/4}$; in particular, $N\ge n$ forces $h\gg_k n^{1/3}$. Consequently every index-one-free sequence satisfies $|\supp(S)|\le n^{3/4+o(1)}$, and at prime-power orders $|\supp(S)|\ll n^{3/4}$ with an absolute constant. \end{theorem} This applies to sequences of arbitrary length and multiplicities. The proof combines integer subset-sum theorems of Bringmann--Wellnitz \cite{BW} and Conlon--Fox--Pham \cite{CFP} with an interval argument for repeated denominations. Section \ref{sec:dense} proves the stronger bound obtained by keeping the maximum multiplicity in each exact-order class separately. Section \ref{sec:preliminaries} develops the basic lemmas. Section \ref{sec:near-linear} proves the near-linear small-index theorem. Section \ref{sec:upper-proofs} proves the index-one upper bounds, including the GRH refinement. Section \ref{sec:lower-proofs} gives the two lower constructions, and Section \ref{sec:dense} proves the support and multiplicity bounds. The appendix proves the uniform index-$r$ upper bound by integer descent. The author acknowledges assistance from OpenAI tools in preparing this paper. \section{Preliminaries}\label{sec:preliminaries} \subsection{Integer intervals and truncated multiplicities}\label{sec:intervals} For a sequence $S$, let $c_x=v_x(S)$ be the multiplicity of $x$, and let $\Sig(S)$ be its set of subsequence sums including the empty sum. When the entries are positive integers, $\Sigma_{0,\Z}(S)$ denotes their integer subsequence sums. Products of sequences mean concatenation. A nonempty zero-sum sequence is an \emph{atom} if all its proper nonempty subsequences have nonzero sum. An index-one sequence is necessarily an atom: a proper zero sum would have a positive integer weight strictly between $0$ and $n$ in the same direction. For $r\ge1$, let $L_{U,r}(n)$ be the maximum length of an index-$r$-free sequence whose terms are units modulo $n$, and write $L_U(n)=L_{U,1}(n)$. These maxima are finite, since every type has multiplicity at most $n-1$. \begin{lemma}\label{lem:orders} If $d\mid n$ and $H$ is the subgroup of order $d$ in $C_n$, then $\ind_{C_n}(T)=\ind_H(T)$ for every sequence $T$ over $H$. Consequently, for every $r\ge1$, an index-$r$-free sequence over $C_n$ has length at most \begin{equation}\label{eq:order-sum} \sum_{\substack{d\mid n\\d>1}}L_{U,r}(d). \end{equation} \end{lemma} \begin{proof} The reduction $\U(n)\to\U(d)$ is surjective. Indeed, lift a unit modulo $d$ and impose residue $1$ at each prime divisor of $n$ not dividing $d$; the Chinese remainder theorem supplies a lift coprime to $n$. For subgroup coordinates $x=(n/d)b$, \[ \res{u(n/d)b}{n}=(n/d)\res{ub}{d}. \] The normalized weights and their minima therefore agree. Partition the terms by their exact additive order. The class of order $d$ becomes a unit sequence in $C_d$, and is still index-$r$-free. The zero element cannot occur. This gives \eqref{eq:order-sum}. \end{proof} We use the classical short-zero-sum theorem: every sequence over $C_n$ of length at least $n$ has a nonempty zero-sum subsequence of length at most its maximum multiplicity; see \cite[Lemma 3.1]{GLPPW}. \begin{lemma}\label{lem:index-cap} Every index-$r$-free sequence $S=\prod_a a^{c_a}$ over $C_n$ satisfies \begin{equation}\label{eq:index-cap} \sum_a\min\{c_a,2r+1\}\le n-1. \end{equation} \end{lemma} \begin{proof} For a zero-sum sequence $T$ containing no zero term, in any unit direction $u$ the two positive weights in directions $u$ and $-u$ sum to $|T|n$. Their normalized weights are positive integers, so \[ \ind(T)\le\lfloor |T|/2\rfloor. \] Retain at most $2r+1$ actual copies of each type. If their total length were at least $n$, the short-zero-sum theorem would give a zero sum of length at most $2r+1$, hence of index at most $r$. A zero term is already an index-one singleton. This proves the bound. \end{proof} The next exact ranges are direct consequences of known high-multiplicity results, stated here in terms of $I_r(n)$. \begin{corollary}\label{cor:large-index} For every $n\ge2$, \[ I_r(n)=n\qquad \left(r\ge\max\{1,\lfloor(n-1)/4\rfloor\}\right). \] For odd $n\ge5$, the same equality holds already when $r\ge\max\{1,\lfloor(n-1)/6\rfloor\}$. \end{corollary} \begin{proof} Suppose every length-$n$ sequence of maximum multiplicity at least $H$ has an index-one subsequence. For smaller multiplicity, the short-zero-sum theorem and unit reversal give a zero sum of index at most $\lfloor(H-1)/2\rfloor$. Thus $I_r(n)\le n$ for $r\ge\max\{1,\lfloor(H-1)/2\rfloor\}$. Use $H=\lceil n/2\rceil$ from \cite[Theorem 1.3]{GLPPW}, and $H=\lceil n/3\rceil$ for odd $n\ge5$ from \cite[Theorem 2.1]{ZLY}. The lower bound is the ordinary zero-sum-free sequence $g^{n-1}$ for a generator $g$. \end{proof} We use Kneser's addition theorem in its usual form: if $A,B$ are finite nonempty subsets of an abelian group and $H$ is the stabilizer of $A+B$, then $|A+B|\ge|A+H|+|B+H|-|H|$; see \cite{DeVos}. \begin{lemma}\label{lem:diameter} If $A\subseteq C_h$ contains $0$, generates $C_h$, and $|A|=k$, then $\ell A=C_h$ for $\ell=\lceil2h/k\rceil$. \end{lemma} \begin{proof} The case $h=1$ is immediate. Otherwise suppose $\ell A\ne C_h$, and let $H$ be its stabilizer, of size $j$. Write $t=|A+H|/j$. Since $A$ generates the group, $t\ge2$, and $k\le tj$. Iterated Kneser in the quotient by $H$ gives \[ \frac{|\ell A|}{j}\ge\ell(t-1)+1 \ge\frac{2h(t-1)}{k}+1 \ge\frac hj\frac{2(t-1)}t+1>\frac hj, \] a contradiction. The iteration is legitimate since a stabilizer of an intermediate sumset stabilizes the final sumset as well. \end{proof} \begin{lemma}\label{lem:integer-interval} Let $B$ be a set of $k$ distinct positive integers, with $\gcd(B)=1$ and $h=\max B$. Put \[ \ell=\lceil2h/k\rceil,\qquad \rho=\ell+1,\qquad L=\ell h. \] If $c_b\ge\rho$ for $b\in B$, then \begin{equation}\label{eq:integer-interval} [L,L+h+\sum_{b\in B}(c_b-\rho)b]\cap\Z \subseteq\Sigma_{0,\Z}\left(\prod_{b\in B}b^{c_b}\right). \end{equation} Moreover $\rho\le4h/k$ and $L\le2h^2/k+h$. \end{lemma} \begin{proof} Reduction of $B$ modulo $h$ has $k$ distinct residues, contains $0$ and generates $C_h$. By Lemma \ref{lem:diameter}, every residue has an integer representation of weight at most $\ell h$, using at most $\ell$ entries of $B\setminus\{h\}$. For any integer $z\in[L,L+h]$, choose such a representation $w\equiv z\pmod h$, and add $(z-w)/h$ copies of $h$. This number lies between $0$ and $\ell+1$. Thus $\rho$ copies of each denomination suffice for $[L,L+h]$. Each further copy of a denomination at most $h$ extends the right endpoint by its value, since the interval and its translate overlap. The stated bounds follow from $k\le h$. \end{proof} \begin{lemma}\label{lem:prime-window} For all sufficiently large integers $n$, put $H=\lfloor\sqrt n/16\rfloor$. Let $X$ be a multiset of primes in $(H/2,H]$, each of multiplicity at most $4\sqrt n$. If $|X|\ge128\sqrt n$, then $n\in\Sigma_{0,\Z}(X)$. \end{lemma} \begin{proof} Let $q$ have largest multiplicity $M$ and put $\ell=\lfloor M/8\rfloor$. If $M<16$, then $|X|\le15H<\sqrt n$, a contradiction. Thus $M/16\le\ell\le M/8$ and $2\ell+3\le M/2$. Writing $c_a$ for the other multiplicities, we have \[ \sum_{a\ne q}\min(c_a,\ell) \ge\frac\ell M(|X|-M)\ge\frac{|X|-M}{16}\ge q-1. \] Reserve $q-1$ non-$q$ copies, at most $\ell$ of each type, and $2\ell+3$ copies of $q$. If $d_a$ is the number of reserved copies of $a\ne q$, form $A_j=\{0\}\cup\{a\bmod q:d_a\ge j\}$ for $1\le j\le\ell$. The nonzero residues in each layer are distinct, because the original window has width less than $q$. Cauchy--Davenport gives $A_1+\cdots+A_\ell=C_q$, since $\sum_j(|A_j|-1)=q-1$. Each residue is therefore represented by reserved non-$q$ copies with integer weight at most $L=\ell H$. Adding reserved $q$'s covers $[L,L+2q]\cap\Z$; fewer than $2\ell+3$ copies suffice because $H<2q$. The width $2q$ exceeds every remaining denomination. Also $L\le MH/8\le n/32$, whereas fewer than $3\sqrt n$ copies were reserved. For large $n$, $H\ge\sqrt n/32$, so the remaining weight is greater than \[ \frac{\sqrt n}{64}(128\sqrt n-3\sqrt n)>n. \] Adding the remaining copies one at a time extends the integer interval beyond $n$. \end{proof} \begin{proposition}\label{prop:truncation} Every index-one-free unit sequence over $C_n$ satisfies \begin{equation}\label{eq:unit-trunc} \sum_{x\in\U(n)}\min\{c_x,\lfloor4\sqrt n\rfloor\} \ll\varphi(n)\log(2n). \end{equation} Every index-one-free sequence over $C_n$ satisfies \begin{equation}\label{eq:all-trunc} \sum_{x\in\supp(S)}\min\{c_x,\lfloor4\sqrt{\ord(x)}\rfloor\} \ll n\log(2n). \end{equation} \end{proposition} \begin{proof} Truncate each unit multiplicity at $\lfloor4\sqrt n\rfloor$, obtaining $X$. Use the prime window of Lemma \ref{lem:prime-window}, removing primes dividing $n$, and denote the remaining primes by $\mathcal P$. The prime number theorem gives $|\mathcal P|\gg\sqrt n/\log(2n)$ for large $n$: at most $\omega(n)\le\log_2 n$ primes were removed. Quantitative versions of the required prime estimates are given in \cite{Dusart}. In every unit direction fewer than $128\sqrt n$ copies of $X$ lie in $\mathcal P$, or the lemma gives an index-one subsequence. Averaging over $\U(n)$, each unit type visits every allowed prime once, so \[ |\mathcal P||X|<128\varphi(n)\sqrt n. \] This proves \eqref{eq:unit-trunc}. The finitely many small $n$ are absorbed by increasing the absolute constant, using $c_x1$, there are positive integers $u,v$ such that \begin{equation}\label{eq:virtual} 01$, choose $00$. For $s=1$, minimality gives $r+b=n$. \end{proof} \begin{proposition}\label{prop:capacity-threshold} Let $\ell=P^{-}(n)$ and let $a,b$ be distinct generators of $C_n$. If $a^A b^B$ is index-one-free but contains a nonempty zero sum, then \begin{equation}\label{eq:capacity-threshold} A\ell$. Consider \begin{equation}\label{eq:neighbor} (r',s')=(r+v,s-u). \end{equation} This is a positive zero sum and is itself an atom. Indeed, the vectors $(r,s)$ and $(v,-u)$ form a basis of the lattice $\{(R,S)\in\Z^2:R+bS\equiv0\pmod n\}$, since their determinant is $-n$. If a nonzero lattice point has $0\le R\le r+v$ and $0\le S\le s-u$, minimality of $(r,s)$ forces $R>r$. The integer $\beta=(sR-rS)/n$ is positive. In the displayed basis write \[ R=kr+\beta v,\qquad S=ks-\beta u. \] Since $S\ge0$, $k\ge1$. Thus $R\ge r+v$, with equality only for $k=\beta=1$. This proves minimality of \eqref{eq:neighbor}. Moreover \[ \ell(r+v)\le ru+sv=n. \] If $A\ge n/\ell$, the neighboring atom remains in the original inventory: $r'\le A$ and $1\le s'u\ge q$. If $u$ is a unit there is nothing to prove. Otherwise $p\mid u,v$, and $p\nmid r,s$ by $(u,s)=1$ and the original zero-sum relation. If $v>r$, set $R=r$ and $S=s$. The positive heights $(U_1,V_1)=(u+s,v-r)$ satisfy $rU_1+sV_1=n$ and $V_1\equiv bU_1\pmod n$, and avoid $p$. If $0n/2$, use instead \[ j=\lfloor(r-1)/v\rfloor,\quad R=r-jv,\quad S=s+ju, \quad (U_1,V_1)=(u+S,v-R). \] Here $1\le Rq/2$ and $r0$ implies $R>q/2$, hence $S(h-1)S$. Modulo $p$ the two coordinates are $-hs,hr$, and modulo $q$ they are $-(h-1)S,(h-1)R$. They are units. In the symmetric shear case, $s=(j+1)S-jU_1>0$ gives $S>q/2$ and $Rn$ and $1^m b^m$ has no nonempty zero sum. Set $Q=\lfloor n/m\rfloor$. The lattice \[ \Lambda_b=\{(x,y)\in\Z^2:y\equiv bx\pmod n\} \] has a unique primitive positive vector $(q,v)$ in $[1,Q]^2$. It can be completed to a basis $(q,v),(s,-r)$ with \begin{equation}\label{eq:lattice-basis} 0\le s0,\quad qr+vs=n. \end{equation} If $D=(q,v)$, then \begin{equation}\label{eq:lattice-gcd} D\mid n,\qquad (q,n)=(v,n)=D. \end{equation} \end{lemma} \begin{proof} Place the $m+1$ distinct representatives of $0,b,\ldots,mb$ in $m$ half-open intervals of length $n/m$. Two give a vector with $1\le q\le m$ and $0<|v|0$. Shorten on the same lattice ray to a primitive vector; then $qv0$ follows from $vsn/m$, then $0r$. Lemma \ref{lem:virtual} supplies positive $u,v$ with \[ Au+Bv=n,\qquad v\equiv bu\pmod n,\qquad (u,B)=1. \] Put $P=\prod_{p\mid n,\,p\mid B}p$. Choose $j\in[\lceil r/2\rceil,r]$ coprime to $P$; this interval contains at least $J(P)$ consecutive integers. The conditions \[ x=ju+Bk>0,\qquad y=jv-Ak>0 \] define an open interval of real $k$ of length $jn/(AB)\ge2(J(n)+2)$. It contains a block of $J(n)$ consecutive integers. Since $\gcd(ju,B,n)=1$, Lemma \ref{lem:progression-unit} gives such a $k$ for which $x$ is a unit modulo $n$. Then $y\equiv bx\pmod n$ is a unit as well, and \[ Ax+By=jn. \] The inequalities $A,B>r\ge j$ imply $0-M$, since $x\le K0$ and $1\le\sigma_0\tau. \] The resulting integer interval therefore contains $\tau$. Select actual core copies with total $w$-weight $\tau$, and add $\sigma_0$ copies of $b$. This anchor is outside $\mathcal C$, since its diagonal coordinates have $D=1$, and its available multiplicity is at least $T$. Equation \eqref{eq:anchor-target-identity} gives a nonempty subsequence of index at most $k\le r$, a contradiction. \end{proof} \subsection{Reciprocal weights and summation over orders} \begin{proposition}\label{prop:near-linear-high} Under \eqref{eq:near-linear-cutoff}, \begin{equation}\label{eq:near-linear-high} W=\sum_{a\in\mathcal H}c_a\ll n\mathcal A(n)\log(2n). \end{equation} \end{proposition} \begin{proof} Assume \eqref{eq:near-linear-geometry} and put $\alpha=3/2$. For a pair with coordinates $(Dx,Ds)$ define \[ w_{ab}=\frac{s}{x}\, \alpha^{\sum_{p\in F_D}(v_p(x)-v_p(s))}. \] The reversed coordinates give $w_{ab}w_{ba}=1$, and $w_{aa}=1$. Fix an anchor $b$. For fixed $D>1$, $x$, and valuations of $s$, Lemma \ref{lem:shifted-anchor} and the bound of $D$ on the number of phases give total $s$-weight less than $2MD=2n$. Write $x=x_0\prod_{p\in F_D}p^{e_p}$, where $e_p=v_p(x)$ and $x_0$ is coprime to every prime in $F_D$. If $e_p>0$, then $(x,s)=1$ forces $v_p(s)=0$; together with the factor $p^{-e_p}$ from $1/x$, this contributes $(\alpha/p)^{e_p}$. If $e_p=0$, summing over $v_p(s)=f\ge0$ contributes $\sum_{f\ge0}\alpha^{-f}=3$. For each fixed exponent vector, the remaining sum of $1/x_0$ over $x_0\le K/\prod_{p\in F_D}p^{e_p}$ is at most $H_K$, where $K=\lfloor Q/D\rfloor$. Extending these nonnegative sums to all $e_p\ge0$ gives \begin{align} \sum_{a:(q_{ab},v_{ab})=D}c_aw_{ab} &\le2nH_K\prod_{p\in F_D} \left(3+\sum_{e\ge1}(\alpha/p)^e\right)\notag\\ &\le2n\,6^{|F_D|}H_K. \label{eq:all-prime-row} \end{align} where $H_K=\sum_{j=1}^K1/j$. Indeed, $3+\alpha/(p-\alpha)\le6$ for every prime $p$, including $p=2$. For $D=1$ the same row bound holds with the factor $6^{|F_D|}=1$. To see this directly, fix $q_{ab}=x$. In direction $xb^{-1}$ the corresponding heights are $v_{ab}$ and the anchor height is $x$. Their union has gcd $1$, since $(x,v_{ab})=1$, and all heights are at most $Q$. Include the anchor only once if it already occurs. Lemma \ref{lem:integer-interval} reserves fewer than $T/2$ copies per type and starts below $2Q^2+Q0$, $\mathcal A(n)\ll_\varepsilon n^\varepsilon$. Indeed, $a+6\le7^a$ for $a\ge1$, so all sufficiently large primes satisfy $a+6\le p^{\varepsilon a}$. For each of the finitely many smaller primes, $(a+6)p^{-\varepsilon a}$ is bounded. Also $\sigma(n)\le n(1+\log n)$. Applying these estimates with a smaller $\varepsilon$ proves \eqref{eq:near-linear-main}. If $\omega(n)\le k$, then $\sigma(n)/n\ll_k1$ and $\mathcal A(n)\ll_k\log^k(2n)$. The first follows by bounding $\prod_{p\mid n}(1-1/p)^{-1}$ by the product over the first $k$ primes; the second follows from $a\le\log n/\log2$ for every $p^a\mid n$. Choose a fixed integer $R_k\ge C[k\log(2k)]^2$ and apply \eqref{eq:jacobsthal-upper}. This proves \eqref{eq:bounded-prime-main} for all $r\ge R_k$. \end{proof} \section{Index-one upper bounds}\label{sec:upper-proofs} \subsection{A bound in terms of the least prime divisor}\label{sec:rough} \begin{lemma}\label{lem:row} Let $S$ be an index-one-free unit sequence. Suppose $A$ is a set of types of multiplicity at least $T\ge8\lceil\sqrt n\rceil$, and for each $a,b\in A$ there are coordinates satisfying \[ q_{ab}a\equiv v_{ab}b\pmod n,\qquad 1\le q_{ab},v_{ab}\le Q\le\sqrt n/4, \] with $(q_{ab},v_{ab})=1$, both coordinates units, and $(q_{ba},v_{ba})=(v_{ab},q_{ab})$. On the diagonal take $(1,1)$. Then $W=\sum_{a\in A}c_a<2nH_Q$, where $H_Q=\sum_{j=1}^Q1/j$. \end{lemma} \begin{proof} Fix $b$ and a nonempty group of types with $q_{ab}=j$. In the unit direction $jb^{-1}$ their distinct heights are $v_{ab}$, and the height of $b$ is $j$. The union of these denominations has gcd $1$. If $b$ already belongs to the group, include it once. The interval of Lemma \ref{lem:integer-interval} requires at most $4Q\le T/2$ copies of every type and starts below $2Q^2+Qn$ and $Q\le\sqrt n/4$. Lemma \ref{lem:square} shows that the sequence with multiplicities $\lfloor c_a/2\rfloor$ contains no ordinary zero sum on at most two types. Thus Lemma \ref{lem:short-vector} gives, for all distinct $a,b\in A$, unique primitive positive coordinates \begin{equation}\label{eq:short-pp} q_{ab}a\equiv v_{ab}b\pmod n,\qquad 1\le q_{ab},v_{ab}\le Q. \end{equation} Use $(1,1)$ on the diagonal. The reversed coordinates are exchanged. \begin{lemma}\label{lem:rectangle} For the coordinates in \eqref{eq:short-pp}, \begin{equation}\label{eq:rectangle} q_{ab}c_b1$, $1\le r_0\le n/\alpha\le c_b$, and $0\le s_0<\alpha\le Q1$, then $p\mid\alpha,\beta$. In the mixed case $Q1$ with $D\mid n$, $D\le B$, and put $M=n/D$ and $K=\lfloor B/D\rfloor$. In a unit direction suppose distinct core types have heights $v_i$, and a separate type has height $r+jM$, where \begin{equation}\label{eq:anchor-data} 1\le r,v_i\le K,\quad (r,n)=(v_i,n)=(r,v_i)=1, \quad 1\le j0$ avoids $p$. In the mixed case it is at most $B0$. In the new direction the core heights are exactly $\lambda x_i$: they lie in $(0,DK)\subset(0,n)$. The anchor height is exactly $Dr+\tau$. Indeed, \eqref{eq:sigma} implies \[ \sigma(r+jM)+g\tau\equiv0\pmod n, \] and hence its residue after multiplying by $\lambda g^{-1}$ is $Dr+\tau$. This positive integer is less than $n$, as is also verified by the identity \begin{equation}\label{eq:exact-certificate} \lambda\tau+\sigma(Dr+\tau)=Dg\tau+Dr\sigma=DM=n. \end{equation} It remains to represent the integer $\tau$ with available core copies. If there are $s$ core types, Lemma \ref{lem:integer-interval} supplies an interval starting at $L=\lceil2h/s\rceil h$, using reserves $\rho=\lceil2h/s\rceil+1\le4K\tau$. The interval therefore contains $\tau$, represented by counts $d_i\le c_i$. Take these core copies and $\sigma1$, write $(q_{ab},v_{ab})=(Dr,Ds_a)$ with $(r,s_a)=1$, and put $M=n/D$. Lemma \ref{lem:rectangle} ensures all divided coordinates are units and at most $K=\lfloor B/D\rfloor$. Define \[ z_a=rab^{-1}s_a^{-1}\equiv1+t_aM\pmod n. \] Primitivity in the original lattice implies $(t_a,D)=1$. Indeed, if $p\mid t_a$, then \[ ra-s_ab\equiv t_aMs_ab\pmod n \] implies $pM\mid ra-s_ab$, since $pM\mid n$. Hence $n\mid(D/p)(ra-s_ab)$, so $(Dr/p,Ds_a/p)$ would still belong to the original lattice, contrary to the primitivity of $(Dr,Ds_a)$. Fix $r$ and a phase $t=t_a$. The unit direction \[ u_0=(1+tM)^{-1}rb^{-1} \] makes all core heights exactly the distinct integers $s_a$. The anchor height is $r+jM$, with $j\equiv-r(1+tM)^{-1}t\pmod D$, so $(j,D)=1$. Lemma \ref{lem:anchor} applies to this group and yields \[ \sum_{a\text{ in the group}}c_as_a<2n/D. \] There are at most $\varphi(D)$ phases. Dividing by $r$, summing over $r\le\lfloor B/D\rfloor$, and then over $D=p^e>1$, gives \[ \sum_{a:D>1}c_a\frac{v_{ab}}{q_{ab}} \le2n\sum_{\substack{1\le e\le k\\p^e\le B}} \frac{\varphi(p^e)}{p^e}H_{\lfloor B/p^e\rfloor} \le2nkH_Q. \] Adding the $D=1$ estimate, multiplying by $c_b$ and using reciprocal pairing as in \eqref{eq:reciprocal} proves \eqref{eq:high-budget}. The anchor is used separately to prove each necessary inequality; certificates from different directions are never concatenated. \end{proof} \begin{proof}[Proof of \eqref{eq:pp-main} and \eqref{eq:mixed-main}] For $n=p^k$, the low part has $c_a1$, requires proof. Lemma \ref{lem:virtual} gives positive heights $u,v$ with \begin{equation}\label{eq:six-heights} ru+sv=n,\qquad v\equiv bu\pmod n,\qquad (u,s)=(v,r)=1. \end{equation} For the second coprimality, a prime dividing $v,r$ would divide $n$, then $s$ from $r+bs\equiv0$, and then $u$ from $v\equiv bu$, a contradiction. The counts $r,s$ have the same parity, as do $u,v$. First suppose $p\mid u,v$, allowing any positive zero-sum counts and heights satisfying \eqref{eq:six-heights}. Write $u=pA,v=pB$. Then \[ rA+sB=2p,\qquad p\nmid rs. \] If $u,v$ are even, then $A,B\ge2$, $r+s\le p$, and $r,s$ are odd. The heights $(u+s,v-r)$ are positive units with the same counts. If $u,v$ are odd and $r,s$ are even, use these heights when $v>r$. Otherwise $r\ge p$ and $s2r$, use $(u+2s,v-2r)$; if $u>2s$, use $(u-2s,v+2r)$. Otherwise $r\ge pB/2$ and $s\ge pA/2$ imply $AB\le2$. Thus $A=B=1$, $r+s=2p$, and $r,s\ge p/2$, with neither equal to $p$. For $rr$, use the unchanged counts and heights $(u+s,v-r)$. If $vM/g>h$. Take $1\le\lambda<2g$ with $\lambda j\equiv1\pmod{2g}$, and put \[ \sigma=2g-\lambda,\qquad \tau=(M-r\sigma)/g,\qquad Y=(M+\lambda r)/g. \] These are integers. The number $\lambda$ is odd and less than $p$, so $\lambda u_0$ is a legal unit. The actual core heights and anchor height in this direction are respectively $\lambda x_i$ and $Y$, because \begin{equation}\label{eq:parity-certificate} \lambda\tau+\sigma Y=2M. \end{equation} Here $r\sigma<2K^20$, the identity gives $0\tau$. The interval therefore represents the integer $\tau$ using available copies. Combine it with $\sigma$ anchor copies in direction $\lambda u_0$; \eqref{eq:parity-certificate} gives weight exactly $n$, a contradiction. \end{proof} \begin{proof}[Proof of \eqref{eq:twice-square-main}] First consider a free unit sequence and set \[ T=64\lceil\sqrt n\rceil,\quad m=\lfloor T/6\rfloor,\quad Q=\lfloor n/m\rfloor,\quad K=\lfloor Q/2\rfloor,\quad A=\{a:c_a\ge T\}. \] If $T\ge n$, the high part is empty. Otherwise $m\ge T/7$, $m^2>n$, and $Q\le7\sqrt n/64<\sqrt n/8

0$. \end{lemma} \begin{proof} There are no equations $ha+jb=0$ with $a,b\in A_m$ and positive unit counts $h,j\le m$. This includes $a=b$, because $h+jrdQ$ and set $n=dm$, $H=m-rdQ$. Then \begin{equation}\label{eq:finite-lower-sequence} S=\prod_{a\mid Q}\ \prod_{\substack{0\le i(rd^2)^{s+1}$ ensures $n>rd^2Q$, as required. Since $p^{k_p+1}>X$, \[ 0\le P(d)-F(Q)\le P(d)\sum_{p\mid d}p^{-k_p-1} \le sP(d)/X. \] Substitution in \eqref{eq:finite-count} gives \eqref{eq:divisor-explicit} and hence \eqref{eq:divisor-main}. Finally the numbers $P(d)$ are unbounded. For $d$ the product of the primes at most $z$, \[ P(d)=\prod_{p\le z}(1-p^{-2}) \prod_{p\le z}(1-p^{-1})^{-1} \ge\frac12\sum_{j\le\lfloor z\rfloor}\frac1j\longrightarrow\infty. \] Here the first product is at least $\prod_{j=2}^{\infty}(1-j^{-2})=1/2$, and the finite Euler product contains all reciprocals $1/j$ with $j\le z$. Given $M$, choose $d$ with $P(d)>M$, independently of $r$, and then let its multiples tend to infinity. Since $I_r(n)>|S|$, the final assertion follows. \end{proof} \begin{example} Take $d=6$, $Q=6$, $r=1$, and $m=2000$. Formula \eqref{eq:finite-lower-sequence} gives the following index-one-free sequence over $C_{12000}$: \[ \begin{aligned} &\prod_{i=0}^{5}(2000i+1)^{1964}\; \prod_{i\in\{1,3,5\}}(2000i+2)^{982}\;\cdot{}\\[-2pt] &\hspace{25mm} \prod_{i\in\{1,2,4,5\}}(2000i+3)^{654}\; \prod_{i\in\{1,5\}}(2000i+6)^{327}. \end{aligned} \] Its length is $6\cdot1964+3\cdot982+4\cdot654+2\cdot327=18000$. Thus $I_1(12000)\ge18001$, contradicting the proposed bound $n+n/P^{-}(n)=18000$ at this order. This example is a direct instance of the proof, with no exhaustive computation needed. \end{example} \subsection{Long free sequences consisting only of generators} \label{sec:unit-lower} For a real $K\ge2$ let $\mathcal P(K)=\prod_{\ell\le K,\ \ell\text{ prime}}\ell$. The first observation uses a gap in the small positive units and a multiplicative subgroup of the unit group. \begin{lemma}\label{lem:unit-gap} Let $n=AK$ with integers $A,K\ge2$. Let $T$ be a nontrivial multiplicative subgroup of $\U(n)$ such that \begin{enumerate} \item every $a\in T$ is congruent to $1$ modulo $A$; \item $\U(n)\cap[1,K]=\{1\}$ in positive representatives; \item every nonidentity representative of $T$ is greater than $n/2$. \end{enumerate} Put $\delta=\min_{a\in T\setminus\{1\}}(n-\res an)$. For every $1\le c<\delta$, $\prod_{a\in T}a^c$ is index-one-free. At $c=\delta$ it has an index-one subsequence. \end{lemma} \begin{proof} An index-one certificate in direction $u$ has a number of terms divisible by $A$, since every term is congruent to $u$ modulo $A$. It therefore uses at least $A$ copies. If $uT$ does not contain the representative $1$, every height is a unit greater than $K$, giving weight at least $A(K+1)>n$. If $1\in uT$, then $u\in T$ and multiplication by $u$ permutes the uniform sequence. A sum $n$ now uses either only $1$'s, requiring $n$ copies, or one nonidentity height $a>n/2$, requiring $n-a\ge\delta$ copies of $1$. Neither is available when $c<\delta$. At $c=\delta$, an element attaining the minimum together with $\delta$ copies of $1$ gives weight $n$. \end{proof} To construct many subgroup elements at heights greater than $n/2$, we first represent the sixth roots of unity by small positive costs. \begin{lemma}\label{lem:six-roots} For every prime $p\equiv1\pmod3$, $p>64$, there are positive integers $x,y$ such that \[ p=x^2-xy+y^2,\qquad x/20$ with $x/2\le y\le2x$. Equality would give a norm three times a square, impossible for $p>3$. Modulo $p$, $(x+y)^2=3xy$. Thus $r_1=1-3\lambda x$ and $r_2=1-3\lambda y$ have sum $-1$ and product $1$, and are the two nontrivial cubic roots. They are distinct, since $x=y$ would give $p=x^2$. The six roots $1,r_1,r_2,-1,-r_1,-r_2$ have the listed costs. Their positive costs follow from $x/264$, with cost sets $E_i$ and coefficients $\lambda_i$ as above, such that \begin{equation}\label{eq:cost-condition} \sum_{i=1}^s\frac{\max E_i}{p_i}<\frac12. \end{equation} Put $K=\prod_i p_i$, $d_i=K/p_i$, $A_0=\mathcal P(K)/K$. Choose a positive integer $c$ satisfying \begin{equation}\label{eq:CRT-lower} A_0c\,d_i\equiv\lambda_i\pmod{p_i}\quad(1\le i\le s), \end{equation} and $A=A_0c\ge2K$. Set $n=AK$. For $e=(e_i)\in\prod_i E_i$, put $B(e)=\sum_i d_ie_i$ and define \[ a_0=1,\qquad a_e=n-AB(e)+1\quad(e\ne0). \] These $6^s$ types form a multiplicative subgroup of $\U(n)$. Writing $e_i^+=\min(E_i\setminus\{0\})$, the sequence with each type repeated \begin{equation}\label{eq:six-capacity} c_*=n\min_i(e_i^+/p_i)-2 \end{equation} times is index-one-free, and has length at least $6^s(n/\max_i p_i-2)$. \end{proposition} \begin{proof} Since $(A_0,K)=1$, the Chinese remainder theorem gives \eqref{eq:CRT-lower}; all its residues for $c$ are units, so $(A,K)=1$. Adding a multiple of $K$ to $c$ ensures $A\ge2K$. By \eqref{eq:cost-condition}, $01$ is an $\alpha$-almost divisor if at most $\alpha\mu W/m^2$ actual entries are not divisible by $d$. \begin{lemma}[Bringmann--Wellnitz \cite{BW}, Theorems 4.1--4.2] \label{lem:BW} If $\delta\ge1$, $\delta\ge16\alpha$ and $X$ is $\delta$-dense, some $d\ge1$ makes $Y=\{x/d:x\in X,\ d\mid x\}$ $\delta$-dense, without an $\alpha$-almost divisor, and with $|Y|\ge3m/4$. Furthermore, put \[ D(m,\mu)=1699200\log_2(2m)\log_2^2(2\mu),\quad A(\mu)=42480\log_2(2\mu),\quad B(\mu)=169920\log_2(2\mu). \] If $X$ is $D(m,\mu)$-dense and has no $A(\mu)$-almost divisor, then its integer subsequence sums contain every integer in \[ [\lambda,W-\lambda],\qquad \lambda=B(\mu)\mu MW/m^2. \] \end{lemma} Using base-two logarithms only enlarges the numerical sufficient thresholds from the source. We use no algorithmic running-time assertion. \begin{lemma}\label{lem:target-window} Let a generator sequence over $C_q$ have maximum multiplicity at most $h$. Suppose one unit direction has $m$ actual copies with heights at most $MCq^{3/4}$, with $C$ a sufficiently large absolute constant. Then $K>4m$. Set $M=\lceil2qm/K\rceil$, so $m\le M0$ such that the following holds. If $X\subseteq[1,M]\cap\Z$ has $m\ge C_0\sqrt M$ elements, some integer $g\ge1$ makes \[ Y=\{x/g:x\in X,\ g\mid x\},\qquad |Y|\ge m-C_1\bigl(\log^3(2M)+M/m\bigr). \] The integer subset sums of $Y$ contain at least $M$ consecutive integers, with first point at most $C_2M^2/(gm)$. \end{lemma} The cited theorem represents every point of the interval using at most $C_2M/m$ distinct elements of $Y$. Since each is at most $M/g$, this also gives the asserted bound on its first point. Reserving one copy of every element of $Y$ therefore suffices for all these representations. \begin{proposition}\label{prop:capacity-layer} Let $S=\prod_a a^{c_a}$ be an index-one-free generator sequence over $C_q$, and let $K_H=|\{a:c_a\ge H\}|$ for each integer $H\ge1$. Then \begin{equation}\label{eq:capacity-layer} K_H\ll q^{3/4}H^{-1/4}. \end{equation} Consequently, if $h$ is its maximum multiplicity, then \begin{equation}\label{eq:generator-inverse} |S|\ll(qh)^{3/4}. \end{equation} Both implied constants are absolute. \end{proposition} \begin{proof} There is nothing to prove for $H\ge q$, since $q$ copies of a generator have index one. The case $H=1$ follows from Proposition \ref{prop:dense-unit}, applied to one copy of each type. That same proposition, together with $2^{\omega(q)}=q^{o(1)}$ and $q/\varphi(q)=q^{o(1)}$, gives, uniformly for every $H$, \begin{equation}\label{eq:capacity-window-error} \frac{K_H2^{\omega(q)}}{\varphi(q)} \ll q^{-1/4+o(1)}\le1 \end{equation} for all sufficiently large $q$. This uses only the already proved set bound. Fix $A=16$ and a sufficiently large absolute $B$, depending on the constants of Lemma \ref{lem:cfp-interval}. Suppose $2\le HBK_0,\qquad K_0=q^{3/4}H^{-1/4}. \] Set $t=\sqrt{q/H}$, $m=\lceil At\rceil$ and $M=\lceil2qm/K\rceil$. Since $t\ge1$ and $K_0/t=(qH)^{1/4}$, sufficiently large $q$ gives $At\le m\le2At$ and $K>4m$. Hence $m\le MBq$, its reserved multiplicity satisfies \[ \rho\le4v/m\le16q/K\le16H/B\le H/2. \] Its interval starts at \[ L\le2v^2/m+v\le3M^2/m\le96Aq/B^2\le q. \] The unreserved copies have total weight at least \[ (H-\rho)\sum_{y\in Y}y\ge\frac H2\frac{m(m+1)}2 \ge\frac{A^2q}{4}\ge q. \] The resulting integer interval again contains $q$ in direction $ug^{-1}$. Both cases contradict freedom. All choices of constants precede the lower bound on $q$. The finitely many omitted orders are absorbed uniformly in $H$, since $H1$, let $h_d$ be the largest multiplicity of an element of exact order $d$, taking $h_d=0$ if that class is empty. Then \begin{equation}\label{eq:inverse-general} |S|\ll\sum_{\substack{d\mid n\\d>1}}(dh_d)^{3/4}. \end{equation} In particular, if $h$ is the maximum multiplicity, then \begin{equation}\label{eq:inverse-pp} |S|\ll(nh)^{3/4}\qquad\text{when $n$ is a prime power}. \end{equation} All implied constants are absolute. For each fixed $\varepsilon>0$, all copies of types whose original multiplicity is at most $n^{1/3-\varepsilon}$ contribute only $o(n)$ terms. \end{proposition} \begin{proof} By Lemma \ref{lem:orders}, the exact-order-$d$ class is an index-one-free generator sequence over $C_d$. Applying \eqref{eq:generator-inverse} to each nonempty class gives \eqref{eq:inverse-general}. Since $h_d\le h$, \[ |S|\ll h^{3/4}\sum_{d\mid n}d^{3/4} =(nh)^{3/4}\sigma_{-3/4}(n). \] If $\omega(n)\le k$, then \[ \sigma_{-3/4}(n)\le\prod_{p\mid n}(1-p^{-3/4})^{-1} \le(1-2^{-3/4})^{-k}. \] This proves \eqref{eq:inverse-pp} and the length and inverse-multiplicity assertions of Theorem \ref{thm:support}. Retaining one copy of every type and using $\sigma_{-3/4}(n)\le\tau(n)=n^{o(1)}$ proves its support assertions, where $\tau(n)$ counts the positive divisors of $n$. Finally, apply the same estimate to the actual subsequence consisting of all copies of types with original multiplicity at most $n^{1/3-\varepsilon}$. Its length is at most $n^{1-3\varepsilon/4+o(1)}=o(n)$. \end{proof} \appendix \section{An integer descent and the general bound} \label{sec:appendix} We prove the uniform index-$r$ bound \eqref{eq:general-r-main}. The descent retains one denomination of maximum multiplicity; this ensures that the final divisor is a unit in the group application. \begin{lemma}\label{lem:descent} Let $X=\prod_{a\in B}a^{c_a}$ be an integer multiset with distinct denominations $B\subset(H/2,H]\cap\Z$, length $N$, and maximum multiplicity $M$. If $N\ge2048H$, there are a submultiset $X'$ and an integer $D$ dividing all its entries and one original denomination of multiplicity $M$, such that $|X'|\ge15N/16$ and $\Sigma_{0,\Z}(X'/D)$ contains an integer interval $[L,V]$ satisfying \begin{equation}\label{eq:descent-endpoints} L\le65MH^2/N+1,\qquad V-L>N^2/(32M). \end{equation} \end{lemma} \begin{proof} Fix $q_0$ of multiplicity $M$ and $\ell=\lceil64MH/N\rceil$. Since $N\le MH$ and $N\ge2048H$, \[ M\ge2048,\quad64MH/N\le\ell\le65MH/N,\quad \ell\le M/16,\quad2\ell+3\le M/4. \] At a descent step, let the already divided common factor be $D_i$, $H_i=H/D_i$, and $q_i=q_0/D_i$. All current denominations lie in $(H_i/2,H_i]$, and all $M$ anchor copies are retained. For $a\ne q_i$ put $d_a=\min(\lfloor c_a/4\rfloor,\ell)$ and \[ A_j=\{0\}\cup\{a\bmod q_i:d_a\ge j\},\qquad1\le j\le\ell. \] The nonzero residues within each layer are distinct. If their sumset is proper in $C_{q_i}$, let its stabilizer be $J=d_i\Z/q_i\Z$ with $d_i\mid q_i$ and $d_i\ge2$. Iterated Kneser gives \[ \sum_{a:d_i\nmid a}d_a =\sum_j|A_j\setminus J| \le\sum_j(|A_j+J|-|J|)N/4$ copies remain. Distinct positive integer denominations with at most $M$ copies each have total weight at least $R^2/(2M)$. Adding these copies increases the interval width by their full integer weight. Thus $V-L>N^2/(32M)$, while the left is at most $\ell H_i+1\le65MH^2/N+1$. All divided factors divide the original anchor, as required. \end{proof} \begin{proof}[Proof of \eqref{eq:general-r-main}] First let $S$ be an index-$r$-free unit sequence over $C_d$, where $1\le r\le d/2$, and write $W=|S|$. Set \[ H=\lfloor\sqrt{rd}\rfloor,\qquad E(d)=2^{\omega(d)}d/\varphi(d). \] Inclusion--exclusion gives \[ |\U(d)\cap(H/2,H]|\ge H\varphi(d)/(2d)-2^{\omega(d)+1}. \] There is an absolute bound $E(d)\ll d^{1/4}$: for primes $p\ge23$, $2p/(p-1)\le p^{1/4}$, and the finitely many smaller primes contribute an absolute constant. Thus for all sufficiently large $d$, uniformly in $r$, one has $H\ge8E(d)$. The window contains at least $H\varphi(d)/(4d)$ units. If $N_u$ actual copies lie in the window in direction $u$, averaging gives \[ \frac1{\varphi(d)}\sum_{u\in\U(d)}N_u\ge WH/(4d). \] Suppose some $N_u\ge2048d$. Since $H\frac{(2048d)^2}{32d}>d. \] Consequently it contains a positive multiple $jd$ with $1\le j\le r$. The corresponding actual submultiset is a zero sum of index at most $j$, contrary to freedom. Therefore every $N_u<2048d$, and \begin{equation}\label{eq:general-r-unit} L_{U,r}(d)\ll d^2/H\ll d^{3/2}/\sqrt r \qquad(1\le r\le d/2). \end{equation} The finitely many smaller $d$ are absorbed into the absolute constant: their unit sequences have length at most $(d-1)\varphi(d)$, and there are only finitely many admissible pairs $(d,r)$. Now take an arbitrary index-$r$-free sequence over $C_n$. By Lemma \ref{lem:index-cap}, all copies of types with $c_a\le2r+1$ have total length at most $n-1$. Every remaining type has additive order $d>2r+1$, since a type of order $d$ has multiplicity less than $d$. Partition these remaining copies by exact order. Lemma \ref{lem:orders} identifies each class with an index-$r$-free unit sequence over $C_d$, and \eqref{eq:general-r-unit} applies because $r2r+1}}d^{3/2} \le n-1+\frac{3C n^{3/2}}{\sqrt r}. \] Here $\sum_{d\mid n}(d/n)^{3/2}\le \sum_{k\ge1}k^{-3/2}\le3$. This proves the upper bound in \eqref{eq:general-r-main}; the lower bound is $g^{n-1}$. At $r=1$ it supplies the $O(n^{3/2})$ term of \eqref{eq:general-main}, completing Theorem \ref{thm:upper}. \end{proof} \begin{thebibliography}{99} \bibitem{BMOR} M. A. Bennett, G. Martin, K. O'Bryant and A. Rechnitzer, \emph{Explicit bounds for primes in arithmetic progressions}, Illinois J. Math. \textbf{62} (2018), 427--532. \href{https://arxiv.org/abs/1802.00085}{arXiv:1802.00085}. \bibitem{BW} K. Bringmann and P. Wellnitz, \emph{On near-linear-time algorithms for dense subset sum}, in Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms (SODA), 2021, 1777--1796. \href{https://doi.org/10.1137/1.9781611976465.107}{doi:10.1137/1.9781611976465.107}. Full version: \href{https://arxiv.org/abs/2010.09096}{arXiv:2010.09096} (2020), Theorems 4.1--4.2. \bibitem{CFP} D. Conlon, J. Fox and H. T. Pham, \emph{Subset sums, completeness and colorings}, J. Eur. Math. Soc., to appear. \href{https://arxiv.org/abs/2104.14766}{arXiv:2104.14766} (2021), Theorem 6.1. \bibitem{DeVos} M. DeVos, \emph{A short proof of Kneser's addition theorem for abelian groups}, preprint (2013). \href{https://arxiv.org/abs/1303.3539}{arXiv:1303.3539}. \bibitem{Dusart} P. Dusart, \emph{Estimates of some functions over primes without R.H.}, preprint (2010). \href{https://arxiv.org/abs/1002.0442}{arXiv:1002.0442}. \bibitem{GLPPW} W. Gao, Y. Li, J. Peng, C. Plyley and G. Wang, \emph{On the index of sequences over cyclic groups}, Acta Arith. \textbf{148} (2011), 119--134. \href{https://doi.org/10.4064/aa148-2-2}{doi:10.4064/aa148-2-2}. \bibitem{Iwaniec} H. Iwaniec, \emph{On the problem of Jacobsthal}, Demonstratio Math. \textbf{11} (1978), 225--232. \href{https://doi.org/10.1515/dema-1978-0121}{doi:10.1515/dema-1978-0121}. \bibitem{LLS} Y. Lamzouri, X. Li and K. Soundararajan, \emph{Conditional bounds for the least quadratic non-residue and related problems}, Math. Comp. \textbf{84} (2015), 2391--2412. \href{https://arxiv.org/abs/1309.3595}{arXiv:1309.3595}. \bibitem{LK} P. Lemke and D. Kleitman, \emph{An addition theorem on the integers modulo $n$}, J. Number Theory \textbf{31} (1989), 335--345. \bibitem{Liu} C. Liu, \emph{On the index-$r$-free sequences over finite cyclic groups}, Int. J. Number Theory \textbf{14} (2018), 1627--1636. \href{https://doi.org/10.1142/S1793042118500987}{doi:10.1142/S1793042118500987}. \bibitem{PYL} J. Peng, S. Yuan and Y. Li, \emph{On subsequence sums of index-1-free sequences over cyclic groups}, Discrete Math. \textbf{349} (2026), no. 4, Paper No. 114918. \href{https://doi.org/10.1016/j.disc.2025.114918}{doi:10.1016/j.disc.2025.114918}. \bibitem{PY} I. Petrow and M. P. Young, \emph{The fourth moment of Dirichlet $L$-functions along a coset and the Weyl bound}, Duke Math. J. \textbf{172} (2023), 1879--1960. \href{https://arxiv.org/abs/1908.10346}{arXiv:1908.10346}. \bibitem{ZLY} X. Zeng, Y. Li and P. Yuan, \emph{On a conjecture of Lemke and Kleitman}, Acta Arith. \textbf{168} (2015), 289--300. \href{https://doi.org/10.4064/aa168-3-5}{doi:10.4064/aa168-3-5}. \end{thebibliography} \end{document}