Integrality and closed form for a greatest-common-divisor exponential sum

From papers

Let nn, aa, and dd be positive integers, and set

Mi:=adi1ai1.M_i:= \frac{a^{di}-1}{a^i-1}.

Let φ(n)\varphi(n) denote Euler's totient function and let ζk\zeta_k be a primitive kk-th root of unity. Arithmetic conjecture. The exponential sum

1φ(n)i=1φ(n)gcd(n,Mi)ζki\frac{1}{\varphi(n)}\sum_{i=1}^{\varphi(n)}\gcd(n,M_i)\zeta_k^i

is an integer; the question is whether it has a closed-form expression. This conjecture is motivated by the preceding formula for the partial zeta function of the curve y=xny=x^n and is suggested as likely provable using known combinatorial identities; no proof or resolution is supplied here.

Progress summary

Open

No public discussion or published progress was found for this conjecture.

No public discussion or published progress was found for this problem.

Current status (as of August 2026): The conjecture appears open, with no recorded public activity or verified resolution.

Sources & referencesView supporting material

Primary source

Noah Bertram, Xiantao Deng, C. Douglas Haessig and Yan Li, “Partial zeta functions, partial exponential sums, and p-adic estimates”, arXiv:2106.09755 (2022).

Solutions 1

Counterexample

As stated, the conjecture is false because no restriction is imposed on kk. Take

n=3,a=2,d=1,k=3.n=3,\qquad a=2,\qquad d=1,\qquad k=3.

Then φ(n)=2\varphi(n)=2 and M1=M2=1M_1=M_2=1, so

1φ(n)i=1φ(n)gcd(n,Mi)ζ3i=ζ3+ζ322=12Z.\frac1{\varphi(n)} \sum_{i=1}^{\varphi(n)}\gcd(n,M_i)\zeta_3^i =\frac{\zeta_3+\zeta_3^2}{2} =-\frac12\notin\mathbb Z.

The natural missing hypothesis in the preceding cyclotomic-product formula is kφ(n)k\mid\varphi(n). With this correction, the conjecture holds and admits an explicit closed form.

Write L=φ(n)L=\varphi(n), put

Pd(X)=1+X++Xd1,Mi=Pd(ai),P_d(X)=1+X+\cdots+X^{d-1},\qquad M_i=P_d(a^i),

and for every sns\mid n with gcd(s,a)=1\gcd(s,a)=1, let hs=ords(a)h_s=\operatorname{ord}_s(a), with h1=1h_1=1. Let

ct(m)=1utgcd(u,t)=1e2πimu/tc_t(m)=\sum_{\substack{1\leq u\leq t\\gcd(u,t)=1}} e^{2\pi imu/t}

denote the Ramanujan sum. For every kLk\mid L,

1Li=1Lgcd(n,Mi)ζki=sn, gcd(s,a)=1\khsφ(s)hsths\sPd(ahs/t)ct(hs/k).(1)\boxed{ \frac1L\sum_{i=1}^L\gcd(n,M_i)\zeta_k^i = \sum_{\substack{s\mid n,\ \gcd(s,a)=1\k\mid h_s}} \frac{\varphi(s)}{h_s} \sum_{\substack{t\mid h_s\s\mid P_d(a^{h_s/t})}} c_t(h_s/k). } \tag{1}

To prove this, first note that if h=ords(a)h=\operatorname{ord}_s(a), gcd(u,h)=1\gcd(u,h)=1, and g=arg=a^r, then

sPd(g)sPd(gu).(2)s\mid P_d(g)\quad\Longleftrightarrow\quad s\mid P_d(g^u). \tag{2}

Work modulo each pesp^e\Vert s, using

Pd(gu)Pu(g)=Pu(gd)Pd(g).(3)P_d(g^u)P_u(g)=P_u(g^d)P_d(g). \tag{3}

If g1(modpe)g\equiv1\pmod{p^e}, both divisibility conditions reduce to pedp^e\mid d. If g1(modp)g\equiv1\pmod p but g≢1(modpe)g\not\equiv1\pmod{p^e}, the order of gg modulo pep^e is a nontrivial pp-power, so php\mid h and pup\nmid u. Thus both Pu(g)P_u(g) and Pu(gd)P_u(g^d) are units modulo pp, and (3) proves (2).

Finally, if g≢1(modp)g\not\equiv1\pmod p, then Pu(g)P_u(g) is a unit modulo pp, since otherwise gu1(modp)g^u\equiv1\pmod p contradicts gcd(u,h)=1\gcd(u,h)=1. The same holds for Pu(gd)P_u(g^d), except possibly when gd1(modp)g^d\equiv1\pmod p and pup\mid u. In this exceptional case php\nmid h, and reduction modulo pp is injective on the cyclic subgroup generated by aa modulo pep^e, because its kernel is a pp-group. Therefore gd1(modpe)g^d\equiv1\pmod{p^e}; since g1g-1 and gu1g^u-1 are units, both Pd(g)P_d(g) and Pd(gu)P_d(g^u) vanish modulo pep^e. This establishes (2).

The reduction map

(Z/hZ)×(Z/tZ)×(\mathbb Z/h\mathbb Z)^\times \longrightarrow (\mathbb Z/t\mathbb Z)^\times

is surjective for every tht\mid h. Consequently (2) shows that sPd(ar)s\mid P_d(a^r) depends only on the order tt of ara^r, equivalently on gcd(r,h)\gcd(r,h).

Now expand

gcd(n,Mi)=sn\sMiφ(s).\gcd(n,M_i)=\sum_{\substack{s\mid n\s\mid M_i}}\varphi(s).

Any ss sharing a prime factor with aa never contributes. For the remaining ss, Euler's theorem gives hsφ(s)Lh_s\mid\varphi(s)\mid L. Grouping indices modulo hsh_s, the contribution vanishes unless khsk\mid h_s; otherwise it equals

φ(s)hsr=1hs1sPd(ar)ζkr.\frac{\varphi(s)}{h_s} \sum_{r=1}^{h_s} \mathbf1_{s\mid P_d(a^r)}\zeta_k^r.

The residues giving elements of order thst\mid h_s are

r=hstu,gcd(u,t)=1.r=\frac{h_s}{t}u,\qquad\gcd(u,t)=1.

They all contribute exactly when sPd(ahs/t)s\mid P_d(a^{h_s/t}), and their exponential sum is ct(hs/k)c_t(h_s/k). This proves (1). Since hsφ(s)h_s\mid\varphi(s) and every Ramanujan sum is integral, the right-hand side belongs to Z\mathbb Z.

Thus the unrestricted statement has the explicit counterexample 1/2-1/2, whereas the intended restricted statement kφ(n)k\mid\varphi(n) is true with the closed form (1).

0 endorsements
Shivam Patel ·