Let k,a,c be positive integers, let b be a nonnegative integer, and let f be a nonvanishing complex-valued multiplicative function. Qian, Tan and Hong proved that Gf(n)=f(0≤i≤klcm{b+a(n+ic)})i=0∏kf(b+a(n+ic)) is periodic and asked for its least positive period. In this paper, we answer this problem by giving an explicit formula for this period in terms of finitely many values of f at prime powers. In particular, we determine the least periods for f(n)=σα(n)=d∣n∑dα for every real α, and for f(n)=nε for every real ε.
Keywords and phrases: Multiplicative function, least period, least common multiple, arithmetic progression.
Introduction
Let N={0,1,2,…} and Z+={1,2,…}, and let Z and C denote the integers and complex numbers. We use gcd and lcm for the greatest common divisor and least common multiple, p for a prime, and #S for the number of elements of a finite set S. For m∈Z\{0}, vp(m) denotes the exponent of p in ∣m∣, and we set vp(0)=+∞. For m=0, we write pvp(m)∥m to mean that pvp(m)∣m and pvp(m)+1∤m. For k∈N and n∈Z+, Farhi [1] introduced the arithmetic function
gk(n)=lcm(n,n+1,…,n+k)n(n+1)⋯(n+k)
and proved that k! is a period. Hong and Yang [4] showed that Lk is a period, where L0=1 and Lk=lcm(1,…,k) for k≥1. Farhi and Kane determined the least positive period of gk.
Theorem A ([2], Theorem 3.2). For every k∈N, the least positive period Pk of gk is given by
Qian, Tan and Hong [6 Problem 1.1] asked whether Gf is periodic and, if so, what its least positive period is. They proved that cLk is a period and determined the least period when f is Euler’s totient function. They also asked for the cases f(n)=σα(n)=∑d∣ndα with α∈N and f(n)=nε with ε∈R.
In this paper, we determine the least positive period of Gf for every nonvanishing complex-valued multiplicative function f. The formula uses only finitely many values of f at prime powers. It also gives the least period for σα for every real α, as well as for nε for every real ε.
Put
d=gcd(a,b),A=da,B=db,L=Lk=lcm(1,…,k).
Then gcd(A,B)=1. For each prime p, vp(L)=⌊logpk⌋, so pvp(L)≤k<pvp(L)+1. For p∣cL with p∤A, define the ratios of adjacent prime power values by
Here ep is the exponent of p in the least period. For each relevant prime p, the formula uses only f(pvp(d)+j) with 0≤j≤vp(c)+vp(L). It determines the least period without computing the values of Gf over a complete period.
Theorem 1.1 recovers the result of Hong and Qian by taking f(m)=m and c=1.
Indeed, Gf=gk,a,b, and for each p∣L with p∤A, we have Rp,j=p and
The cases gcd(a,b)=1 and gcd(a,b)>1 correspond to A=a and A=a′, respectively. The case k=0 follows directly from g0,a,b≡1. Taking a=1 and b=0 also recovers the result of Farhi and Kane.
We say that a positive-valued arithmetic function f is strictly prime-power monotonic if, for each fixed prime p, the sequence (f(pm))m≥0 is strictly monotonic. The direction of monotonicity may depend on p.
Corollary 1.1. If f is strictly prime-power monotonic, then the least positive period of Gf is
p∣cp∤A∏pvp(c)p∣Lp∤Avp(L)>vp(k+1)∏pvp(L).
Since σα is strictly prime-power monotonic for every real α, and so is nε for every real ε=0, we obtain the following corollary.
Corollary 1.2. For real α, let σα(n)=∑d∣ndα. Then the least positive period of Gf with f=σα is the period given in Corollary 1.1. The same holds for f(n)=nε with any real ε=0. For ε=0, the least positive period is 1.
Preliminary lemmas
It is well known that the least positive period divides every positive period. Indeed, if T0 is the least period of an arithmetic function H(n) and T=qT0+r is any period, with 0≤r<T0, then H(n+r)=H(n+r+qT0)=H(n), so r=0.
Lemma 2.1. Let q1,q2,…,qm be pairwise coprime positive integers. For each 1≤i≤m, let Hi:Z+→C∖{0} have least positive period qi. Then the function H(n)=∏i=1mHi(n) has least positive period ∏i=1mqi.
Proof. Put T=∏i=1mqi. Clearly, T is a period of H(n). Conversely, let T′ be any positive period of H(n). For each i, put Ti=qiT. Since T′Ti is also a period of H(n) and a multiple of qj for every j=i, cancelling the nonzero factors
j=1j=i∏mHj(n+T′Ti)=j=1j=i∏mHj(n)
from H(n+T′Ti)=H(n) gives Hi(n+T′Ti)=Hi(n) for any positive integer n. Thus qi∣T′Ti. Since gcd(qi,Ti)=1, we obtain qi∣T′ for every i, and so T∣T′. Therefore T is the least positive period of H(n).
Lemma 2.2. Let p be a prime, let u be an integer with gcd(u,p)=1, and let k,j be positive integers such that pj≤k. For each integer z, define
Nj(z)=#{i∈Z:0≤i≤k,pj∣z+ui}.
If pj∣k+1, then Nj(z)=pjk+1 for every integer z. Otherwise, Nj(z) takes two consecutive integer values and has least positive period pj.
Proof. Write k+1=ℓpj+r, where 0≤r<pj. Since gcd(u,pj)=1, each block of pj consecutive indices i contains exactly one solution of z+ui≡0(modpj). Thus Nj(z)=ℓ=pjk+1 if r=0, and Nj(z)∈{ℓ,ℓ+1} otherwise.
Next we suppose that r>0. Let 1q∣t be 1 if q∣t, and 0 otherwise. Then
D(z):=Nj(z+u)−Nj(z)=1pj∣z+u(k+1)−1pj∣z.
Since pj∤u(k+1), we have D(z)=−1 if and only if pj∣z. If T is a positive period of Nj(z), then
D(T)=Nj(T+u)−Nj(T)=Nj(u)−Nj(0)=D(0)=−1,
so pj∣T. Since pj is also a period, it follows that pj is the least positive period. Since pj>1, the function Nj(z) is nonconstant, so both values ℓ and ℓ+1 occur.
Proofs
Proof of Theorem 1.1. By b+a(n+ic)=d[B+A(n+ic)], we have
For each fixed n, only finitely many factors differ from 1. Thus, although the product above is written over all primes, it is in fact a finite product, and there is no need to consider convergence.
Next, we consider the primes p in the product according to the following cases.
Case 1.p∣A. Since gcd(A,B)=1, we have p∤B. Hence vp(B+A(n+ic))=0 for every i, and Fp(n)=f(pvp(d))k.
Case 2.p∤A and p∤cL. Then p>k and p∤c. If two terms B+A(n+ic) and B+A(n+jc) are divisible by p for some 0≤i<j≤k, then their difference Ac(j−i) is also divisible by p. Since p∤Ac and 0<j−i≤k<p, this is a contradiction.
Thus at most one term B+A(n+ic) is divisible by p. If there is such a term, its corresponding factor cancels with the denominator in (3.1). Therefore, in both Cases 1 and 2, we have Fp(n)=f(pvp(d))k, and so
It remains to determine the least period of the product over the fixed finite set of primes p∣cL with p∤A. Fix such a prime p. Since vp(Ac)=vp(c), write Ac=pvp(c)u with u∈Z+ and p∤u. We first derive an expression for Fp(n).
If 0≤vp(B+An)<vp(c), then
vp(B+A(n+ic))=vp(B+An+ipvp(c)u)=vp(B+An)
for every i, and hence Fp(n)=f(pvp(d)+vp(B+An))k. Now we suppose that vp(B+An)≥vp(c). Write B+An=pvp(c)z with z∈Z+. Since
vp(B+An+ipvp(c)u)=vp(c)+vp(z+iu),
we arrange
vp(z),vp(z+u),…,vp(z+ku)
in nondecreasing order as w0≤⋯≤wk, including equal values. As in Lemma 2.2, let
Nj(z)=#{i:0≤i≤k,pj∣z+iu}(j≥1).
For 1≤j≤wk−1, exactly Nj(z)−1 of w0,…,wk−1 are at least j. Then
Next we extend the upper limit of the product above from wk−1 to vp(L). We shall prove wk−1≤vp(L) and Nj(z)=1 for wk−1<j≤vp(L).
Since pvp(L)≤k<pvp(L)+1, at most one term z+iu with 0≤i≤k is divisible by pvp(L)+1. Indeed, if two terms z+iu and z+ju with 0≤i<j≤k were both divisible by pvp(L)+1, then pvp(L)+1∣(j−i)u. Since p∤u, this would imply pvp(L)+1∣j−i, contradicting 0<j−i≤k<pvp(L)+1. Thus wk−1≤vp(L).
For 1≤j≤vp(L), we have pj≤k. Since p∤u, the first pj terms z,z+u,…,z+(pj−1)u form a complete residue system modulo pj. Hence at least one term is divisible by pj, so wk≥j. If wk−1<j≤vp(L), then only wk is at least j, and therefore Nj(z)=1. Consequently,
Next, we determine the least positive period of Fp(n). Recall that
Mp=max({j:vp(k+1)<j≤vp(L),Rp,j=1}∪{0}).
We distinguish two cases according to the value of Mp.
Case 1.Mp>0. Then vp(k+1)<Mp≤vp(L), Rp,Mp=1, and Rp,j=1 for Mp<j≤vp(L). Thus the factors with j>Mp in the product in (3.3) are all equal to 1 and can be omitted. We show that pvp(c)+Mp is a period.
If 0≤vp(B+An)<vp(c), then pvp(B+An)∣B+A(n+pvp(c)+Mp), so
Fp(n+pvp(c)+Mp)=Fp(n).
If vp(B+An)≥vp(c), write B+An=pvp(c)z. Then
B+A(n+pvp(c)+Mp)=pvp(c)(z+ApMp).
For 1≤j≤Mp, the function Nj is pj-periodic and pj∣ApMp, so Nj(z+ApMp)=Nj(z). Hence (3.3) gives Fp(n+pvp(c)+Mp)=Fp(n). Together with the preceding case, this proves that pvp(c)+Mp is a period of Fp.
Put T=pvp(c)+Mp−1. By Lemma 2.2, NMp takes two consecutive integer values and has least positive period pMp. Since p∤A, the integer ApMp−1 is not a period of NMp. Hence there exists a positive integer z0 such that
NMp(z0+ApMp−1)−NMp(z0)=±1.
Choose a positive integer n0 such that
B+An0≡pvp(c)z0(modpvp(c)+Mp).
Consequently, (B+An0)/pvp(c)≡z0(modpMp). For 1≤j<Mp, we have pj∣ApMp−1, so the corresponding counts Nj are unchanged. Thus (3.3) gives
Therefore T is not a period. Since the least positive period divides pvp(c)+Mp, it equals pvp(c)+Mp=pep.
Case 2.Mp=0. By the definition of Mp, we have Rp,j=1 for vp(k+1)<j≤vp(L). For 1≤j≤min(vp(L),vp(k+1)), Lemma 2.2 gives Nj(z)=pjk+1. Hence, whenever vp(B+An)≥vp(c), (3.3) gives
Thus Fp(n)=Kp whenever vp(B+An)≥ep. If vp(B+An)<ep, this valuation is determined by B+An modulo pep. Hence Fp(n) is determined by B+An modulo pep.
Since B+A(n+pep)≡B+An(modpep), pep is a period of Fp. Since p∤A, choose a positive integer n0 such that B+An0≡0(modpep). Then vp(B+A(n0+pep−1))=ep−1, and hence
Fp(n0)=Kp=f(pvp(d)+ep−1)k=Fp(n0+pep−1).
Therefore pep−1 is not a period, and the least positive period of Fp is pep. The least periods pep for distinct primes are pairwise coprime. Thus (3) and Lemma 2.1 show that the least positive period of Gf is
Pf=p∣cLp∤A∏pep.
If the product is empty, then Gf is constant and Pf=1.
Proof of Corollary 1.1. Fix p∣cL with p∤A. Strict monotonicity gives Rp,j=1 for 1≤j≤vp(L). If vp(L)>vp(k+1), then Mp=vp(L) and ep=vp(c)+vp(L). Suppose that vp(L)≤vp(k+1). Then Mp=0. If vp(c)=0, the formula for ep gives ep=0. Now suppose that vp(c)>0. If f(pm) is increasing in m, then Rp,j>1 for 1≤j≤vp(L). The exponents in the product defining Kp are nonnegative, so
Kp≥f(pvp(d)+vp(c))k>f(pvp(d)+vp(c)−1)k.
If f(pm) is decreasing in m, then 0<Rp,j<1 for these j, and both inequalities are reversed. Thus ep=vp(c) in either case, and the result follows from Theorem 1.1.
References
References
[1]B. Farhi, Nontrivial lower bounds for the least common multiple of some finite sequences of integers, J. Number Theory 125 (2007), 393–411.arxiv.org/abs/0803.0290
[2]B. Farhi and D. Kane, New results on the least common multiple of consecutive integers, Proc. Amer. Math. Soc. 137 (2009), 1933–1939.arxiv.org/abs/0808.1507
[3]S. Hong and G. Qian, The least common multiple of consecutive arithmetic progression terms, Proc. Edinb. Math. Soc. 54 (2011), 431–441.DOI
[4]S. Hong and Y. Yang, On the periodicity of an arithmetical function, C. R. Math. Acad. Sci. Paris 346 (2008), 717–721.DOI
[5]Q.-Z. Ji and C.-G. Ji, On the periodicity of some Farhi arithmetical functions, Proc. Amer. Math. Soc. 138 (2010), 3025–3035.arxiv.org/abs/0903.1162
[6]G. Qian, Q. Tan and S. Hong, On the periodicity of a class of arithmetic functions associated with multiplicative functions, J. Number Theory 133 (2013), 2005–2020.arxiv.org/abs/1201.0931