scieee AI-readable full text Open interactive document viewer

A von Staudt-type result for $\displaystyle{\sum_{z\in\mathbb{Z}_n[i]} z^k }$

Ayuso, Pedro; Oller Marcén, Antonio M.; Grau, José María

Abstract

n this paper we study the sum of powers of the Gaussian integers Gk(n):=¿a,b¿[1,n](a+bi)k. We give an explicit formula for Gk(n)(modn) in terms of the prime numbers p=3(mod4) with p||n and p-1|k, similar to the well known one due to von Staudt for ¿ni=1ik(modn). We apply this result to study the set of integers n which divide Gn(n) and compute its asymptotic density with six exact digits: 0.971000…. Ayuso, Pedro; Grau, José María; Oller Marcén, Antonio M.

Full text

Monatsh Math DOI 10.1007/s00605-015-0736-5 A von Staudt-type result for !z∈Zn[i]zk Pedro Fortuny Ayuso ·José María Grau · Antonio M. Oller-Marcén Received: 26 June 2014 / Accepted: 31 December 2014 © Springer-Verlag Wien 2015 Abstract In this paper we study the sum of powers of the Gaussian integers Gk(n):= !a,b∈[1,n](a+bi)k. We give an explicit formula for Gk(n)(mod n)in terms of the prime numbers p≡3(mod 4)with p|| nand p−1|k,similartothewellknown one due to von Staudt for !n i=1ik(mod n).Weapplythisresulttostudytheset of integers nwhich divide Gn(n)and compute its asymptotic density with six exact digits: 0.971000 .... Keywords Power sum ·Erdös–Moser equation ·Asymptotic density Mathematics Subject Classification 11B99 ·11A99 ·11A07 1Introduction The sum of powers of integers of the form Sk(n):= 1k+2k+3k+···+nk Communicated by J. Schoißengeier. P. Fortuny Ayuso ·J. M. Grau Departamento de Matemáticas, Universidad de Oviedo, Avda. Calvo Sotelo s/n, 33007 Oviedo, Spain e-mail: [email protected] J. M. Grau e-mail: [email protected] A. M. Oller-Marcén (B) Centro Universitario de la Defensa de Zaragoza, Ctra. Huesca s/n, 50090 Zaragoza, Spain e-mail: [email protected] 123 Author's personal copy P. F. Ayuso et al. is a well-studied problem in arithmetic (see e.g., [20]and[21]). Finding formulas for these sums has interested mathematicians for more than 300 years since the time of James Bernoulli (1665–1705). If we call Biand Bi(x)the i-th Bernoulli number and Bernoulli polynomial, respectively, then (see, e.g., [1]) Sk(m)=Bk+1(m+1)−Bk+1 k+1.(1) The sum of powers modulo nwas studied by von Staudt in 1840 in [11], where he gave the following result for even k: Theorem 1 Let k,n≥1be integers with k even. Then, Sk(n)≡− " p|n p−1|k n p(mod n), where the summation is taken over all primes p such that p |nand(p−1)|k. L. Carlitz [2] considered the case kodd and claimed that n|Sk(n)in that case. P. Moree [7]pointedoutthatthisisfalse,butthatSk(n)=rn/2forintegerr. On the other hand, in [3,Theorem1]thepairs(k,n)with k,n≥1suchthat n|Sk(n)were characterized. This result is given as follows: Theorem 2 Let k,n≥1be integers. Then n |Sk(n)if and only if one of the following holds: (i) nisoddandp−1!k for every prime divisor p of n. (ii) nisamultipleof4and k >1is odd. Much research has been carried out regarding divisibility properties of power sums (see for instance [5,6,9,10]). In this work, we deal with power sums of Gaussian integers, an extension that has not been considered yet. Instead of the sum of the k-th powers of the first npositive integers, we are concerned with the sum of the k-th powers of all Gaussian integers in the n×nbase square of the first quadrant. Namely, this paper deals with power sums of the form: Gk(n):= " 1≤a,b≤n (a+bi)k, where the summation is taken over all integers aand bsuch that 1 ≤a≤nand 1≤b≤n. Table 1lists the values of Gk(n)(mod n)for 1 ≤k,n≤24. AcursorylookatTable1supports the idea that when Im(Gk(n)) ≡ 0(mod n)[i.e., when Gk(n)is not real modulo n]thenRe(Gk(n)) ≡Im(Gk(n)) ≡n/2(mod n). The large proportion of pairs (k,n)for which n|Gk(n)is also remarkable. The main goal of this paper is to give an analogue of Carlitz–von Staudt result in this Gaussian setting. In particular, we prove the following result. Recall that p|| n means that a prime pdivides n,butp2does not divide n: 123 Author's personal copy A von Staudt-type result for !z∈Zn[i]zk Table 1 Gk(n)(mod n)for 1 ≤k,n≤24; with ϵ:= (1+i) k!n123456 78910111213141516171819202122 2324 1000000 0000 0 0 0 0 0 0 0 0 0 0 00 0 0 2000000 0000 0 0 0 0 0 0 0 0 0 0 00 0 0 30ϵ0003ϵ0005ϵ0007ϵ0009ϵ00 011ϵ00 400000000000000000000 00 00 50ϵ0003ϵ0005ϵ0007ϵ0009ϵ00 011ϵ00 6 00000000000000000000 00 00 70ϵ0003ϵ0005ϵ0007ϵ0009ϵ00 011ϵ00 800200200000800500000140 08 90ϵ0003ϵ0005ϵ0007ϵ0009ϵ00 011ϵ00 10 000000 00000000000000 00 00 11 0 ϵ0003ϵ0005ϵ0007ϵ0009ϵ00 011ϵ00 12 000000 0000 0 000000000 00 00 13 0 ϵ0003ϵ0005ϵ0007ϵ0009ϵ00 011ϵ00 14 0 0 0 0 0 0 0 0 0 0 0 0 0 0000000 00 00 15 0 ϵ0003ϵ0005ϵ0007ϵ0009ϵ00 011ϵ00 16 0 0 2 0 0 2 0 0 0 0 0 8 0 0 5 00000140 08 17 0 ϵ0003ϵ0005ϵ0007ϵ0009ϵ00 011ϵ00 18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000 00 00 19 0 ϵ0003ϵ0005ϵ0007ϵ0009ϵ00011ϵ00 20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000 0 0 21 0 ϵ0003ϵ0005ϵ0007ϵ0009ϵ00 011ϵ00 22 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000 23 0 ϵ0003ϵ0005ϵ0007ϵ0009ϵ00 011ϵ00 24 0 0 2 0 0 2 0 0 0 0 0 8 0 0 5 0 0 0 0 0 14 0 0 8 Theorem Let k,n≥1be integers and consider the set P(k,n):= {prime p :p|| n,p2−1|k,p≡3(mod 4)}. Then: Gk(n)≡⎧ ⎨ ⎩ n 2(1+i)(mod n), if k>1isoddandn≡2(mod 4); −!p∈P(k,n) n2 p2(mod n), otherwise. As an application of this result, we study the asymptotic density of the set of integers nsuch that n|Gn(n),(i.e.,thedensityofzerosinthediagonaloftheinfinite table which corresponds to Table 1). We prove that this set has indeed an asymptotic density and compute its value up to the sixth decimal digit 0.971000 ....Thisvalueis in contrast with that of the classical integral setting [3], where the asymptotic density of the set of integers nsuch that n|Sn(n)is exactly 1/2. 123 Author's personal copy P. F. Ayuso et al. 2Auxiliaryresultsonsumsofbinomialcoefficients In order to prove our main theorem we use some technical results involving sums of binomial coefficients. The first one is due to Hermite [13], although Bachman [14,p. 46] gave it in a more general form: Lemma 1 Let k be a positive integer and p be a prime. Then: " 0<j(p−1)<k&k j(p−1)'≡0(mod p). The second technical result which we use is more recent and is due to Dilcher [12]. It involves alternating lacunary sums of binomial coefficients: Lemma 2 Let k be a positive integer and let p be an odd prime. Then k " j=0 (−1)j&k(p−1) j(p−1)'≡⎧ ⎪ ⎨ ⎪ ⎩ 0(mod p), if kisodd; 2(mod p), if kisevenandp+1!k; 1(mod p), if p+1|k. The following proposition will also play a key role in the proof of our main theorem. It is a direct consequence of the lemmata above. Proposition 1 Let p be an odd prime and n a positive integer such that p −1|n. Then: n (p−1)−1 " j=1 (−1)j(p−1) 2&n j(p−1)' ≡)−1(mod p), if p≡3(mod 4)and p +1|n (p−1); 0(mod p), otherwise. Proof Write n=k(p−1).Thenthesuminthestatementis S= k−1 " j=1 (−1)j(p−1) 2&k(p−1) j(p−1)'. If p≡1(mod 4),then p−1 2is even and the sum Sdoes not alternate so that Lemma 1applies and S≡0(mod p)in this case. On the other hand, if p≡3(mod 4)Salternates and then S= k " j=0 (−1)j&k(p−1) j(p−1)'−&k(p−1) 0'−(−1)k&k(p−1) k(p−1)' and the result follows by Lemma 2.⊓) 123 Author's personal copy A von Staudt-type result for !z∈Zn[i]zk 3ProofofthemainTheorem Recall that Gk(n):= " 1≤a,b≤n (a+bi)k. Writing z=a+bi,thebinomialtheoremgives: Gk(n)≡" 1≤a≤n" 1≤b≤n" 1≤m≤k&k m'ak−mbmim(mod n). Consequently, from the definition of the power sum Sk(n)we obtain the following: Lemma 3 Let k,nbepositiveintegers.Then: (i) Re(Gk(n)) ≡!⌊k/2⌋ j=0(−1)j*k 2j+S2j(n)Sk−2j(n)(mod n). (ii) Im(Gk(n)) ≡!⌊(k−1)/2⌋ j=0(−1)j*k 2j+1+S2j+1(n)Sk−2j−1(n)(mod n). Note that Lemma 3above allows us to study Re(Gk(n)) and Im(Gk(n)) separately. Proposition 4 in [3] is used in the proof of the following two propositions and it is given as follows: Lemma 4 Let n be an integer with n ≡2(mod 4)and let k be any integer. Then: (i) Sk(n)≡ 0(mod n). (ii) Sk(n)≡0(mod n/2)if and only if gcd(k,p−1)<p−1for every p, odd prime divisor of n. We start with the congruence of the imaginary part: Proposition 2 For any integers n,k,Im(Gk(n)) ≡0(mod n)unless n ≡2(mod 4) and k >1is odd in which case Im(Gk(n)) ≡n/2(mod n). Proof We examine different cases and use Lemma 3(ii) extensively. •If nis odd, then p−1isevenforeveryp|nand we can apply part (i) of Theorem 2to get S2j+1(n)≡0(mod n)for every 0 ≤j≤⌊k/2⌋+1. Hence Im(Gk(n)) ≡0(mod n)in this case. •If 4 |nthen Theorem 2(ii) implies that S2j+1(n)≡0(mod n)for every j>1. Consequently, Im(Gk(n)) ≡kn(n−1) 2Sk−1(n)(mod n)and four cases arise: (i) If k=1, then Im(Gk(n)) ≡nn(n−1) 2≡0(mod n). (ii) If k=2, then Im(Gk(n)) ≡2,n(n−1) 2-2≡0(mod n). (iii) If k>2iseven,thenSk−1(n)≡0(mod n)due to Theorem 2(ii) and hence Im(Gk(n)) ≡0(mod n). (iv) If k>1isodd,clearlySk−1(n)≡n 2Sk−1(2)≡0(mod 2)so that Im(Gk(n)) ≡0(mod n). 123 Author's personal copy P. F. Ayuso et al. •For n≡2(mod 4)we consider the following cases: (i) If k=1, since S0(n)=nthen Im(Gk(n)) ≡0(mod n)trivially. (ii) If kis even, then *k 2j+1+is also even for every j≥0. Moreover, by Lemma 4, S2j+1(n)≡0(mod n/2)from which follows that Im(Gk(n)) ≡0(mod n). (iii) If k>1isodd,itiseasytoseethat! k−1 2 j=0*k 2j+1+≡1(mod 2).Thus,since Sm(2)≡1(mod 2)for every positive m, it follows that Im(Gk(n)) ≡1 (mod 2).Justlikeinthepreviouscase,Im(Gk(n)) ≡0(mod n/2)and then Im(Gk(n)) ≡n/2(mod n).⊓) We now consider the real part, which requires a finer analysis. Notice that Sk(1)= 1≡0(mod 1),sothatinwhatfollowsweassumen>1. Proposition 3 If n ≡2(mod 4)and k >1is odd, then Re(Gk(n)) ≡n/2(mod n). Proof Since kis odd, k−2jis odd for every 0 ≤j≤⌊k/2⌋. Consequently, by Lemma 4,Sk−2j(n)≡0(mod n/2)and due to Lemma 3(i), Re(Gk(n)) ≡0(mod n/2). Moreover, since S0(2)≡0(mod 2)and Sm(2)≡1(mod 2)for every m>1, it follows that Re(Gk(n)) ≡n2 4! k−1 2 j=1*k 2j+(mod 2).Toconclude,itisenoughto observe that ! k−1 2 j=1*k 2j+≡1(mod 2)and n2/4≡1(mod 2).⊓) Proposition 4 If k >1is odd and n ≡ 2(mod 4),orifk=1,thenRe(Gk(n)) ≡0 (mod n). Proof The case k=1istrivial,sinceRe(Gk(n)) ≡S0(n)S1(n)=nS1(n)≡0 (mod n). Now, assume that k>1isoddandn≡ 2(mod 4). We distinguish two cases: (i) If nis odd, then Sk−2j(n)≡0(mod n)for every 0 ≤j≤⌊k/2⌋because k−2j is odd and Theorem 2(i) applies. Then the result follows from Lemma 3(i). (ii) If 4 |n,thenSk−2j(n)≡0(mod n)for every 0 ≤j<⌊k/2⌋=k−1 2.Hence, Re(Gk(n)) ≡(−1)k−1 2*k k−1+S0(n)S1(n)≡0(mod n)because S0(n)=n. Proposition 5 Let k >1be even and n =pr1 1···prs sbe integers. Then Re(Gk(n)) ≡⎧ ⎨ ⎩ −n2 p2 i (mod pi), if ri=1,p2 i−1|kand pi≡3(mod 4); 0(mod pri i), otherwise. Proof Since kis even and S0(n)=0, by Lemma 3(i), for every 1 ≤i≤s: Re(Gk(n)) ≡ k 2−1 " j=1 (−1)j&k 2j'S2j(n)Sk−2j(n)(mod pri i). As usual in this section, we study different cases: 123 Author's personal copy A von Staudt-type result for !z∈Zn[i]zk •If pi=2, as 2 jand k−2jare even for every jwe have by Theorem 1that S2j≡−n/2≡n/2(mod 2ri)and Sk−2j(n)≡−n/2≡n/2(mod 2ri).Hence, Re(Gk(n)) ≡n2 4! k 2−1 j=1(−1)j*k 2j+(mod 2ri).Now: (i) If ri>1, clearly n2/4≡0(mod 2ri)because 2ri−2≥riand thus Re(Gk(n)) ≡0(mod 2ri). (ii) If ri=1, we have that ! k 2−1 j=1(−1)j*k 2j+≡! k 2−1 j=1*k 2j+≡0(mod 2)so, again, Re(Gk(n)) ≡0(mod 2ri). •If piis an odd prime, then by Theorem 1: Sm(pri i)≡)−pri−1 r(mod pri i), if pi−1|m; 0(mod pri i), otherwise. This gives: (i) If ri>1, then every term in the expression of Re(Gk(n)) is 0 (mod pri i): (a) If either pi−1!2jor pi−1!k−2j,theneitherS2j(n)≡0(mod pri i) or Sk−2j(n)≡0(mod pri i). (b) If pi−1dividesboth2jand k−2j,thenS2j(n)Sk−2j(n)≡p2ri−2≡0 (mod pri i). (ii) If ri=1andpi−1!k,thenforevery1≤j≤k/2−1, either pi−1!2j or pi−1!k−2j. Thus, every term in the expression of Re(Gk(n)) is 0 (mod pi). (iii) If ri=1andpi−1|k,thenforevery1≤j≤k/2−1eitherpi−1|2j or pi−1!2j.Ifpi−1!2j,thenthecorrespondingtermis0 (mod pi). If pi−1|2j,sothatpi−1|k−2jand thus S2j(n)≡Sk−2j(n)≡n/pi (mod pi).Consequently, Re(Gk(n)) ≡n2 p2 i" 1≤j≤k/2−1 pi−1|2j (−1)j&k 2j'= k pi−1−1 " j=1 (−1) j(pi−1) 2&k j(pi−1)'. But this latter sum can be evaluated using Proposition 1to complete the proof in this case. ⊓) Theorem 3 Let k,n≥1be integers. Define the set P(k,n):= {prime p :p|| n,p2−1|k,p≡3(mod 4)}. Then: Gk(n)≡⎧ ⎨ ⎩ n 2(1+i)(mod n), if k>1isoddandn≡2(mod 4); −!p∈P(k,n) n2 p2(mod n), otherwise. Proof From Propositions 2and 3,weknowthatGk(n)≡n 2(1+i)(mod n)if k>1 is odd and n≡2(mod 4). 123 Author's personal copy P. F. Ayuso et al. In the remaining cases, Im(Gk(n)) ≡0(mod n)by Proposition 2. Define n′=.p∈P(k,n)p. Clearly n=n n′·n′and gcd(n/n′,n′)=1. Propositions 4and 5imply that: Re(Gk(n)) ≡0(mod n/n′), Re(Gk(n)) ≡−n2/p2(mod p), for every p∈P(k,n). And the result follows applying the Chinese Remainder Theorem. ⊓) 4OnthecongruenceG k(n)≡0(mod n) In this section we focus on the solutions to Gk(n)≡0(mod n);i.e.numbersnsuch that 0 =!z∈Zn[i]zk.Inparticular,westudythesets Nk:= {n∈N:Gk(n)≡0(mod n)}, Kn:= {k∈N:Gk(n)≡0(mod n)}. In other words, we are interested in the zeros of each row and column in Table 1. The following result is a simple consequence of Theorem 3: Corollary 1 Let k,n≥1be integers. Then Gk(n)≡ 0(mod n)if and only if there exists a prime p dividing n such that: (i) p≡3(mod 4). (ii) p2−1|k. (iii) p2!n. This corollary will allow us to explicitly describe the complements of Nkand Kn and, furthermore, to obtain information about their density. Proposition 6 Let p be a prime and define the set F(p):= {p(ps +r):s∈ Nand 0<r<p}.Then: N\Nk=⎧ ⎪ ⎪ ⎨ ⎪ ⎪ ⎩ 4N+2,if k>1isodd; / p2−1|k p≡3(mod 4) F(p), otherwise. Proposition 7 Let p be a prime and define the set G(p):= {h(p2−1):h∈N}. Then: N\Kn=⎧ ⎪ ⎪ ⎨ ⎪ ⎪ ⎩ 2N+1,if n≡2(mod 4); / p∥n p≡3(mod 4) G(p), otherwise. In what follows, given a set A⊆N,wedenotebyδ(A)its asymptotic density. 123 Author's personal copy A von Staudt-type result for !z∈Zn[i]zk Theorem 4 For very positive integer k , the asymptotic density of Nkis: δ(Nk)=⎧ ⎪ ⎨ ⎪ ⎩ 3/4,if k>1is odd; .p2−1|k p≡3(mod 4) p2−p+1 p2,otherwise. Proof For any non-empty finite family of primes P,thesystemofcongruences {x≡pr (mod p2):p∈P} has solutions. An easy inductive argument shows that δ⎛ ⎝2 p∈P F(p)⎞ ⎠=.p∈P(p−1) lcm{p2:p∈P}=5 p∈P p−1 p2. Proposition 6and the inclusion-exclusion principle lead to δ(N\Nk)=1−5 p2−1|k p≡3(mod 4) &1−p−1 p2' and we are done. ⊓) This result has the following somewhat remarkable consequence: Corollary 2 For every ϵ>0,thereexistsk∈Nsuch that δ(Nk)<ϵ. Proof It is enough to observe that 5 p≡3(mod 4) p2−p+1 p2=0. ⊓) Remark Corollary 2means that, despite great amount of zeros in Table 1, there are rows such that the density of zeros on them is as close to 0 as desired. Proposition 8 Let n be a positive integer. If 3|nbut9!n, then 8N⊆N\Kn.If,in addition, n ≡ 2(mod 4),then8N=N\Kn. Proof If 8 |k,thenk∈G(3).Hence,if3|nand 9 !n, Proposition 7implies that k∈N\Kn. If we furthermore assume that n≡ 2(mod 4), then Proposition 7implies that, if k∈N\Kn,thenp2−1|kfor some p|nsuch that p≡3(mod 4).Butinthiscase, p2−1≡0(mod 8)and the proof is complete. ⊓) 123 Author's personal copy