alphaFeedback

WorksMathematics

Powers of a Prime in the Image of Summatory Valuation Functions

AI contributions
  • Anthropic Claude Opus 5.5
View details

Abstract

J.-L. Nicolas asked how often a power of 22 belongs to the image of c(n)=∑k≤n2v2(k)c(n)=\sum_{k\le n}2^{v_2(k)}, where v2v_2 is the 22-adic valuation, and showed that both the number A(x)A(x) of exponents a≤xa\le x with 2a2^a in the image and the number B(x)B(x) of the other exponents tend to infinity. We prove the identity c(n)=n+12∑ii 2ic(n)=n+\frac12\sum_{i}i\,2^{i}, the sum running over the positions of the binary digits 11 of nn, so that 2a2^a lies in the image of cc if and only if 2a+32^{a+3} is a sum of distinct terms of the superincreasing sequence (j2j)j≥1(j2^j)_{j\ge1}. For every exponent there is at most one possible largest term KK, given by K+⌈log⁡2K⌉=a+3K+\lceil\log_2K\rceil=a+3, and no such KK exists exactly when a=2r+r−2a=2^r+r-2. The remaining exponents are decided by an explicit recursion on pairs of integers bounded by a+3a+3, in at most a+1a+1 steps. We give the closed formula c(2K−2+2K−s−2)=2K+h−3c(2^{K-2}+2^{K-s-2})=2^{K+h-3} for s=2ks=2^k, h≡k(mod2k+1)h\equiv k\pmod{2^{k+1}} and K=(2h+s+s)/(2s+1)K=(2^{h+s}+s)/(2^s+1), and infinite explicit families of exponents aa for which 2a2^a is not in the image, indexed by s=3s=3 and s=2is=2^i; the families given by Nicolas are the cases s=1s=1 and s=2s=2. As a consequence, A(x)≥(2+o(1))log⁡2xA(x)\ge(2+o(1))\log_2x and B(x)≥(54+12∑i≥112i−1+o(1))log⁡2x=(2.0533…+o(1))log⁡2xB(x)\ge(\frac54+\frac12\sum_{i\ge1}\frac{1}{2^i-1}+o(1))\log_2x=(2.0533\ldots+o(1))\log_2x. We prove that the states of the recursion form a forest, rooted at the states (J,0)(J,0) and at the failing states, in which every state (J′,w′)(J',w') has exactly v2(J′+1+w′)v_2(J'+1+w') children; that the sets SJS_J of successful states are symmetric; that exactly half of them lie in the tree of the root (1,0)(1,0); that N(2k+1)=N(2k)N(2k+1)=N(2k); that 4∣N(J)4\mid N(J) for J≥4J\ge4; and that SJS_J satisfies a recursion from the smallest elements upwards, with period J/2J/2 for even JJ. The symmetry gives further explicit families, among them c(22r−1)=22r+r−1c(2^{2^r}-1)=2^{2^r+r-1}, and the improved bounds A(x)≥(3.9655…+o(1))log⁡2xA(x)\ge(3.9655\ldots+o(1))\log_2x and B(x)≥(2.8178…+o(1))log⁡2xB(x)\ge(2.8178\ldots+o(1))\log_2x. For every prime pp, the function cp(n)=∑k≤npvp(k)c_p(n)=\sum_{k\le n}p^{v_p(k)} counts the factor 1−X1-X in (1−X)⋯(1−Xn)(1-X)\cdots(1-X^n) over Fp\mathbb{F}_p; we extend to it the reduction, the unique candidate, the recursions and the symmetry, give explicit families, and describe completely the exponents rejected at the first step, which occur only for odd pp. We also report experiments in exact integer arithmetic: every statement is checked by three independent methods, the values of A(x)A(x) reproduce the table of Nicolas, the sets SJS_J are computed for J≤131072J\le131072, and A(x)/xA(x)/x lies between 0.51320.5132 and 0.87500.8750 for x=1000,2000,…,131000x=1000,2000,\dots,131000.

Introduction

For a positive integer kk let v2(k)v_2(k) denote the exponent of 2 in kk. In a joint paper with J. Dixmier, J.-L. Nicolas considered the function

c(n)=∑k=1n2v2(k),n≥1,(1)c(n)=\sum_{k=1}^{n}2^{v_2(k)},\qquad n\ge1, \tag*{(1)}

which is the exponent of 1+X1+X in the factorization of (1+X)(1+X2)⋯(1+Xn)(1+X)(1+X^2)\cdots(1+X^n) into irreducible factors over F2[X]\mathbb{F}_2[X], and in his list of open questions [1] he asked how often a power of 2 belongs to the image of cc. The sequence (c(n))n≥1=1,3,4,8,9,11,12,20,…(c(n))_{n\ge1}=1,3,4,8,9,11,12,20,\ldots of the partial sums of the highest power of 2 dividing kk is the sequence M2344 of the encyclopedia of Sloane and Plouffe [2]. It satisfies the recurrence c(2n)=2c(n)+nc(2n)=2c(n)+n and the formulas c(2r)=2r−1(r+2)c(2^r)=2^{r-1}(r+2) and c(2r−1)=r2r−1c(2^r-1)=r2^{r-1} [1], and the recurrence splits at half, a class of recurrences whose identities and periodic oscillations are studied by Hwang, Janson and Tsai [3]. With

A={a≥0:2a∈c(N)},A(x)=#{a∈A:a≤x},B(x)=#{a∈Z∩[0,x]:a∉A},(2)\mathcal{A}=\{a\geq0:2^a\in c(\mathbb{N})\},\qquad A(x)=\#\{a\in\mathcal{A}:a\leq x\},\qquad B(x)=\#\{a\in\mathbb{Z}\cap[0,x]:a\notin\mathcal{A}\}, \tag*{(2)}

Nicolas showed that A(x)→∞A(x)\to\infty and B(x)→∞B(x)\to\infty, and asked whether the behaviour of A(x)A(x) can be made precise; his table gives, for instance, the values 635 for x=1000x=1000 and 5963 for x=10000x=10000 [1], which are the numbers of exponents 1≤a≤x1\leq a\leq x in A\mathcal{A}, that is A(x)−1A(x)-1 in the notation (2), since c(1)=20c(1)=2^0 (§ 10). He obtained these limits from three families: 2a∉c(N)2^a\notin c(\mathbb{N}) when a=2r+r−2a=2^r+r-2; a+(2a−11)/3∈Aa+(2^a-11)/3\in\mathcal{A} for odd aa; and a+(2a−10)/3∉Aa+(2^a-10)/3\notin\mathcal{A} for even aa [1].

The same list contains a question on a family of fractions, namely the size of the largest numerator A(N)A(N) of ∏n≤N((n+1)/n)ε(n)\prod_{n\leq N}((n+1)/n)^{\varepsilon(n)} with ε(n)∈{−1,0,1}\varepsilon(n)\in\{-1,0,1\}; for that question de la Bretèche, Pomerance and Tenenbaum proved log⁡A(N)={κ+o(1)}Nlog⁡N\log A(N)=\{\kappa+o(1)\}N\log N with an explicit constant κ≈0.107005\kappa\approx0.107005 [4]. The present paper is concerned with the question on c(n)c(n) only.

Contributions. We prove the following results.

  • The identity c(n)=n+12∑i∈B(n)2ic(n)=n+\frac{1}{2}\sum_{i\in\mathcal{B}(n)}2^i, where B(n)\mathcal{B}(n) is the set of positions of the binary digits 1 of nn, equivalently c(n)=n+∑k≥12k−1⌊n/2k⌋c(n)=n+\sum_{k\geq1}2^{k-1}\lfloor n/2^k\rfloor, and the equivalence a∈A⟺2a+3=∑j∈T2j2ja\in\mathcal{A}\Longleftrightarrow2^{a+3}=\sum_{j\in T}2^{j2^j} for a finite set TT of positive integers (Lemma 2.1, Theorem 2.2).

  • The numbers j2jj2^j form a superincreasing sequence. Consequently, for every a≥0a\geq0 there is at most one integer K≥2K\geq2 that can be the largest element of TT, namely the solution of K+⌈log⁡2K⌉=a+3K+\lceil\log_2K\rceil=a+3, and such a KK fails to exist exactly for a=2r+r−2a=2^r+r-2, r≥1r\geq1 (Theorem 3.3). This recovers the first family of Nicolas and shows that it is the only obstruction of this kind.

  • A recursion on pairs of integers bounded by a+3a+3 that decides whether a∈Aa\in\mathcal{A} in at most a+1a+1 steps, without handling integers of size 2a2^a (Theorem 4.1, Corollary 4.2).

  • Infinite explicit families of members of A\mathcal{A}, given by the closed formula c(2K−2+2K−s−2)=2K+h−3c(2^{K-2}+2^{K-s-2})=2^{K+h-3} for s=2ks=2^k, k≥0k\geq0, h≡k(mod2k+1)h\equiv k\pmod{2^k+1} and K=(2h+s+s)/(2s+1)K=(2^{h+s}+s)/(2^s+1) (Theorem 5.1), and infinite explicit families of non-members, indexed by s=3s=3 and by s=2is=2^i, i≥1i\geq1 (Theorem 6.1). The second and third families of Nicolas are the cases s=1s=1 of Theorem 5.1 and s=2s=2 of Theorem 6.1. These families are complete in the following sense: they are exactly the exponents that Algorithm 1 decides in at most one iteration (Theorem 6.2).

  • Explicit lower bounds for both counting functions (Theorem 7.1):

A(x)≥(2+o(1))log⁡2x,B(x)≥(54+E2+o(1))log⁡2x,E=∑i≥112i−1=1.6066951…,A(x)\geq(2+o(1))\log_2x,\qquad B(x)\geq\left(\frac{5}{4}+\frac{E}{2}+o(1)\right)\log_2x,\qquad E=\sum_{i\geq1}\frac{1}{2^i-1}=1.6066951\ldots,

so that 54+E2=2.0533475…\frac{5}{4}+\frac{E}{2}=2.0533475\ldots.

  • The states of the recursion form a forest: the roots are the states (J,0)(J,0), one at each level, and the failing states, whose number up to level LL is given by an explicit formula; each state (J′,w′)(J',w') has exactly v2(J′+1+w′)v_2(J'+1+w') children; and the initial states are the states with J+1+wJ+1+w a power of 2 (Theorem 8.4). The root of the tree of a successful state is determined by the least element of its representing set, and exactly half of the successful states of each level lie in the tree of the root $(1,0) (Proposition 8.5). The sets SJS_J satisfy the recursion SJ={c/2:c∈SJ−1}∪{(c+J)/2:c∈SJ−1 odd}S_J=\{c/2:c\in S_{J-1}\}\cup\{(c+J)/2:c\in S_{J-1}\text{ odd}\} for odd JJ and SJ={c/2,c+J/2:c∈SJ−1 even}S_J=\{c/2,c+J/2:c\in S_{J-1}\text{ even}\} for even JJ; in particular SJS_J is periodic with period J/2J/2 for even JJ (Theorem 8.6). The symmetry yields three further explicit families, among them c(22r−1)=22r+r−1c(2^{2^r}-1)=2^{2^r+r-1} (Theorem 8.7), and the improved bounds A(x)≥(3.9655…+o(1))log⁡2xA(x)\geq(3.9655\ldots+o(1))\log_2x and B(x)≥(2.8178…+o(1))log⁡2xB(x)\geq(2.8178\ldots+o(1))\log_2x (Theorem 8.8). The sets SJS_J of successful states, the roots (J,0)(J,0): the number N(J)=∣SJ∣N(J)=|S_J| counts the sets T⊆{1,…,J}T\subseteq\{1,\ldots,J\} with ∑j∈Tj2j≡0(mod2J+1)\sum_{j\in T}j2^j\equiv0\pmod{2^{J+1}}, SJS_J is symmetric under w↦J−1−ww\mapsto J-1-w, N(2k+1)=N(2k)N(2k+1)=N(2k), and $4\mid N(J)$ for J≥4J\geq4 (§ 8).

  • The analogue for every prime pp (§ 9), with the complete description of the immediate failures, the bottom-up recursion and the symmetry w↦(p−1)K−ww \mapsto(p-1)K-w (Theorems 9.6 and 9.7): cp(n)=∑k≤npvp(k)c_p(n)=\sum_{k\le n}p^{v_p(k)} is the exponent of 1−X1-X in (1−X)(1−Xp)⋯(1−Xpn)(1-X)(1-X^p)\cdots(1-X^{p^n}) over Fp[X]\mathbb{F}_p[X]; the reduction to digit sums of the numbers pi((p−1)i+p)p^i((p-1)i+p), the unique candidate, the exponents (pg−1)/(p−1)+g−1(p^g-1)/(p-1)+g-1 without candidate, the recursion, and explicit families, among them a family of non-members with no analogue for p=2p=2 (Theorems 9.3, 9.4 and 9.5).

References

  1. [1]J.-L. Nicolas, Some open questions, The Ramanujan Journal 9 (2005) 251–264. doi:10.1007/s11139-005-0836-2.DOI
  2. [2]N. J. A. Sloane, S. Plouffe, The Encyclopedia of Integer Sequences, Academic Press, San Diego, 1995.
  3. [3]H.-K. Hwang, S. Janson, T.-H. Tsai, Identities and periodic oscillations of divide-and-conquer recurrences splitting at half, Advances in Applied Mathematics 155 (2024) 102653, full version: arXiv:2210.10968. doi:10.1016/j.aam.2023.102653.DOI
  4. [4]R. de la Bretèche, C. Pomerance, G. Tenenbaum, Products of ratios of consecutive integers, The Ramanujan Journal 9 (2005) 131–138. doi:10.1007/s11139-005-0831-7.DOI

Paper details

vlnc:W_ge7jz6da
v1 · latestHistory (1)

published · Fresh — published within the last 30 days

Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Mathematics

Anthropic Claude Opus 5.5 · View statement →

Looking for related papers…
Contents