<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2023.149034</article-id><article-id pub-id-type="publisher-id">AM-127691</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Some Implications of the Gessel Identity
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Claire</surname><given-names>Levaillant</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Department of Mathematics, University of Southern California, Los Angeles, CA, USA</addr-line></aff><pub-date pub-type="epub"><day>14</day><month>09</month><year>2023</year></pub-date><volume>14</volume><issue>09</issue><fpage>545</fpage><lpage>579</lpage><history><date date-type="received"><day>26,</day>	<month>April</month>	<year>2023</year></date><date date-type="rev-recd"><day>12,</day>	<month>September</month>	<year>2023</year>	</date><date date-type="accepted"><day>15,</day>	<month>September</month>	<year>2023</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  We generalize the congruences of Friedmann-Tamarkine (1909), Lehmer (1938), and Ernvall-Mets&amp;#228;nkyla (1991) on the sums of powers of integers weighted by powers of the Fermat quotients to the next Fermat quotient power, namely to the third power of the Fermat quotient. Using this result and the Gessel identity (2005) combined with our past work (2021), we are able to relate residues of some truncated convolutions of Bernoulli numbers with some Ernvall-Mets&amp;#228;nkyla residues to residues of some full convolutions of the same kind. We also establish some congruences concerning other related weighted sums of powers of integers when these sums are weighted by some analogs of the Teichm&#252;ller characters.
 
</p></abstract><kwd-group><kwd>Convolutions Involving Bernoulli Numbers</kwd><kwd> Truncated Convolutions Involving Bernoulli Numbers</kwd><kwd> Congruences</kwd><kwd> Binomial and Multinomial Convolutions of Divided Bernoulli Numbers</kwd><kwd> Multiple Harmonic Sums</kwd><kwd> Generalized Harmonic Numbers</kwd><kwd> Miki Identity</kwd><kwd> Gessel Identity</kwd><kwd> Sums of Powers of Integers Weighted by Powers of the Fermat Quotients</kwd><kwd> Generalization of Kummer’s Congruences</kwd><kwd> Generalizations of Friedmann-Tamarkine</kwd><kwd> Lehmer</kwd><kwd> Ernvall-Mets&amp;#228;nkyla’s Congruences</kwd><kwd> p-Adic Numbers</kwd><kwd> Weighted Sums of Powers of Integers</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><sec id="s1_1"><title>1.1. Scope and Summary</title><sec id="s1_1_1"><title>1.1.1. Scope</title><p>In the past century, convolutions involving Bernoulli numbers have drawn much attention. One motivation is that such convolutions arise in quantum field theory and string theory, see for instance [<xref ref-type="bibr" rid="scirp.127691-ref1">1</xref>] . However, truncated convolutions involving Bernoulli numbers are not as broadly studied, though they appear in particular in combinatorial number theory relating for instance to congruences of unsigned Stirling numbers of the first kind on p letters with odd indices modulo p<sup>3</sup>. For such congruences, only the even indices had been tackled by Glaisher in his pioneering work [<xref ref-type="bibr" rid="scirp.127691-ref2">2</xref>] around the turn of the twentieth century. In [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] , we relate the residue modulo p of such truncated convolutions to the residue of some full convolutions. These congruences shortly after become in [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] an important tool for generalizing Wilson’s theorem to the modulus p<sup>4</sup> pushing Z-H. Sun’s expansion of [<xref ref-type="bibr" rid="scirp.127691-ref5">5</xref>] one p power further. These truncated convolutions appear independently in the late 1970s in Miki’s work on his way to proving a celebrated identity involving binomial convolutions of Bernoulli numbers. Our work of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] combined with Miki’s work of [<xref ref-type="bibr" rid="scirp.127691-ref6">6</xref>] implies a generalization in some cases of the famous Kummer congruences to the modulus p<sup>2</sup> in terms of a sum of powers of integers weighted by the squared Fermat quotients that was originally due to Ernvall and Mets&#228;nkyla in [<xref ref-type="bibr" rid="scirp.127691-ref7">7</xref>] . Sums of powers of integers weighted by the Fermat quotients had already been studied earlier by the authors of [<xref ref-type="bibr" rid="scirp.127691-ref8">8</xref>] and had led to a criterion for finding irregular primes. Such a result became of importance as Kummer in 1850 had shown that Fermat’s last theorem holds when the exponent is a regular prime. As part of our work, we find novel congruences involving sums of powers of integers weighted by cubes of Fermat quotients. By computing the residues of such sums in two different ways, we are able to relate residues of truncated convolutions of divided Bernoulli numbers with Ernvall-Mets&#228;nkyla residues to residues of full convolutions of the same kind. These novel congruences could open the path to important applications in number theory in the same way as similar congruences involving only divided Bernoulli numbers as already mentioned before had served as a crucial ingredient in the generalization of Wilson’s theorem to the modulus p<sup>4</sup>. We further prove similar congruences involving this time convolutions and truncated convolutions of ordinary Bernoulli numbers with Ernvall-Mets&#228;nkyla residues. This is a much harder computational problem where Gessel’s identity, a generalization of Miki’s identity, is used in order to reduce a differential term of cubic convolutions of divided Bernoulli numbers arising from multiple harmonic sums modulo p<sup>4</sup>.</p></sec><sec id="s1_1_2"><title>1.1.2. Detailed Summary</title><p>In 1991, Reijo Ernvall and Tauno Mets&#228;nkyla generalized the Kummer congruences by relating modulo p<sup>2</sup> the difference B p − 1 + t − B t to a sum of t-th powers of the first ( p − 1 ) integers weighted by the squared Fermat quotients. They did so for the range 4 ≤ t ≤ p − 3 , when t is even. In their honor, we will call the p-residue of ( B p − 1 + t − B t ) / p the Ernvall-Mets&#228;nkyla residue. In this paper, we set a prime p ≥ 11 and we restrict further the range for the even t. We namely impose 6 ≤ t ≤ p − 5 . We let n be the integer so that t = p − 1 − 2 n . Hence 4 ≤ 2 n ≤ p − 7 . The main result of the paper offers a congruence modulo p relating a truncated convolution of order 2 ( p − 1 ) − 2 n of Bernoulli numbers with Ervall-Mets&#228;nkyla residues to the full convolution of order p − 1 − 2 n . The latter congruence also involves a full convolution where the ordinary Bernoulli numbers are replaced with the divided Bernoulli numbers. This result can be viewed as a generalization of Theorem 1 point (i) of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] which offers a similar result when dealing with convolutions of divided Bernoulli numbers. One of the three proofs presented in [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] uses the famous Miki identity which relates convolutions of divided Bernoulli numbers to binomial convolutions of divided Bernoulli numbers. The current proof is based on Ira Gessel’s identity, namely a generalization of Hiroo Miki’s identity to cubic convolutions, and on our past work</p><p>on the multiple harmonic sums H { s } 2 n = 1 ; p − 1 modulo p<sup>4</sup>, amongst other things.</p><p>Another important tool consists of generalizing congruences proven throughout the twentieth century and which are due to Friedmann-Tamarkine [<xref ref-type="bibr" rid="scirp.127691-ref8">8</xref>] , Lehmer [<xref ref-type="bibr" rid="scirp.127691-ref9">9</xref>] , Miki [<xref ref-type="bibr" rid="scirp.127691-ref6">6</xref>] and Ernvall-Mets&#228;nkyla [<xref ref-type="bibr" rid="scirp.127691-ref7">7</xref>] in chronological order, on sums that are discussed right below and which involve the Fermat quotients in base a with 1 ≤ a ≤ p − 1 . The latter generalization is interesting in its own sake. Though many mathematicians have been studying congruences concerning Bernoulli numbers and the Fermat quotients, their results tend to be sparse in time, like testified by the (non exhaustive) list below.</p><p>Since the beginning of the twentieth century, mathematicians have been working with sums of some fixed power of the first ( p − 1 ) integers involving the Fermat quotients or the squared Fermat quotients as their weights. However, sums of some fixed power of integers have been studied since way earlier. In fact, the pioneer for the study of such sums is Johann Faulhaber of Ulm (1580-1635) whose computations by hand in the early 17th century [<xref ref-type="bibr" rid="scirp.127691-ref10">10</xref>] drew the attention and the admiration of many mathematicians in the subsequent centuries. Two centuries after Faulhaber, in 1834, Carl Jacobi was first to provide a rigorous proof for Faulhaber’s guessed formula [<xref ref-type="bibr" rid="scirp.127691-ref11">11</xref>] which later became known as “the Faulhaber formula”, see [<xref ref-type="bibr" rid="scirp.127691-ref12">12</xref>] for an excellent expository on the topic.</p><p>Weighted sums of powers of integers happen to be linked to the Bernoulli numbers. Conversely, the residues of the divided Bernoulli numbers, to the exception of some of them, can be expressed as residues of some weighted sums of powers of integers. Indeed, if i is a positive even integer that is prime to both p and p − 1 , then</p><p>B i = ∑ a = 1 p − 1 ( ∑ b = 1 p − 1 [ b − 1 a p ] 1 b i − 1 ) a i − 1 mod p</p><p>This congruence namely follows from summing the Voronoi congruences from 1889 [<xref ref-type="bibr" rid="scirp.127691-ref13">13</xref>] and using the fact that p divides a sum of powers of the first ( p − 1 ) integers when these powers are not multiples of ( p − 1 ) .</p><p>Three centuries after Faulhaber, the earlier work on the sums of some fixed power of the first ( p − 1 ) integers weighted by the Fermat quotients goes back to Friedmann and Tamarkine [<xref ref-type="bibr" rid="scirp.127691-ref8">8</xref>] in the early twentieth century. Their congruence modulo p opens another path towards the study of irregular primes since it provides a criterion for irregular pairs. The search for irregular primes had been of importance on the route to the proof of Fermat’s Last Theorem ever since Ernst Kummer had shown that Fermat’s Last Theorem holds when the exponent is a regular prime [<xref ref-type="bibr" rid="scirp.127691-ref14">14</xref>] , thus leaving irregular primes to be analyzed individually. While Friedmann and Tamarkine only deal with even powers, Emma Lehmer in 1938 generalizes the Friedmann-Tamarkine congruence to odd powers and pushes the study one p power further. Her congruences namely hold modulo p<sup>2</sup>. It is not until 1978 that sums of some fixed power of the first ( p − 1 ) integers weighted by the squared Fermat quotients appear in the pioneering work of Hiroo Miki on his way to finding an identity relating a convolution of divided Bernoulli numbers to a binomial convolution of divided Bernoulli numbers, an identity which also involves harmonic numbers. Miki relates these sums modulo p for a restricted range of even powers to convolutions of divided Bernoulli numbers and to some of their truncations [<xref ref-type="bibr" rid="scirp.127691-ref6">6</xref>] . These exact same p-residues of truncated convolutions of divided Bernoulli numbers are studied independently in 2020 [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] using the p-adic analysis of some polynomial with p-adic integer coefficients whose study got initiated in [<xref ref-type="bibr" rid="scirp.127691-ref15">15</xref>] . In this study, the unsigned Stirling numbers of the first kind on p letters are involved. A congruence is obtained relating these residues of truncated convolutions to the residues of some full convolutions. By confronting Miki’s work and our work of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] , we immediately retrieve Reijo Ernvall and Tauno Mets&#228;nkyla’s congruence [<xref ref-type="bibr" rid="scirp.127691-ref7">7</xref>] (holding for the same range of powers) from 1991, which instead of the complicated convoluted form by Miki, provides a much simpler expression for the considered residual sum in terms of the second residue in the p-adic Hensel expansion [<xref ref-type="bibr" rid="scirp.127691-ref16">16</xref>] of a certain difference of two divided Bernoulli numbers. We show further that Ernvall and Mets&#228;nkyla’s method does generalize to odd powers. This is the purpose of our Theorem 1.</p><p>At this point, the p-adic analysis of the unsigned Stirling numbers of the first kind on p letters resurfaces in order to generalize to base a with 1 ≤ a ≤ p − 1 some congruences of [<xref ref-type="bibr" rid="scirp.127691-ref17">17</xref>] that were achieved in base 2. We provide the residue of a powers of a weighted sum of divided Bernoulli numbers whose indices range between 1 and p − 2 , for a set integer a and where the powers of a coincide with the indices of the divided Bernoulli numbers. This residue is as simple in expression as a sum modulo p of the Wilson quotient and of the Fermat quotient in base a. By summing over the bases such sums after these have been multiplied by some fixed power of a and by the squared Fermat quotient q a 2 , we thus get amongst other terms a sum of powers of integers weighted by the third power of the Fermat quotients. It is the purpose of Theorem 2. By combining further Theorem 2 with Theorem 1 evoked before, we may conveniently adjust the range of indices that concerns the divided Bernoulli numbers. However, this is not yet enough to generalize the Friedmann-Tamarkine-Lehmer-Ernvall-Mets&#228;nkyla congruence in an appealing way, that is one which is computationally efficient. So, we continue working on the same sum and apply to it the Ernvall-Mets&#228;nkyla congruence. We must also generalize Ernvall and Mets&#228;nkyla’s congruence to the unstudied cases when the power is respectively 0 or 2. This is the purpose of Theorems 3 and 4 respectively. Once this is done, we obtain Theorem 5 which provides a satisfactory congruence modulo p for the sum of powers of integers weighted by the third power of the Fermat quotient in terms of only Bernoulli numbers. Independently however, we get a much simpler form—with a number of terms that is independent from the prime p—by using a result by Zhi-Hong Sun from [<xref ref-type="bibr" rid="scirp.127691-ref5">5</xref>] on sums of powers of integers. By comparing both expressions, we obtain new congruences on Bernoulli numbers generalizing those of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] . The simpler version of Theorem 5 is the one which is retained for later use.</p><p>From there, we have all the ingredients to tackle the main congruence of the paper. This time, the conjugates to the Stirling numbers, namely the multiple harmonic sums on p − 1 integers come into play. We will shortly discuss why. In [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] , we had obtained by means of the Newton formulas and using some sophisticated p-adic expansions of the generalized harmonic numbers on p − 1 integers modulo p<sup>4</sup> by Zhi-Hong Sun [<xref ref-type="bibr" rid="scirp.127691-ref5">5</xref>] a congruence providing these sums modulo p<sup>4</sup>, see Theorem 3 of [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] . Sums that are related to those discussed in the previous paragraph are present in the expression. Another core term appearing in the expression is a differential term composed of two cubic convolutions of divided Bernoulli numbers. This is where Ira Gessel’s identity from the title now enters the scene. The Gessel identity [<xref ref-type="bibr" rid="scirp.127691-ref18">18</xref>] is a generalization of the Miki identity to products of three divided Bernoulli numbers. It involves a multinomial convolution of three divided Bernoulli numbers, a binomial convolution of divided Bernoulli numbers, the harmonic numbers and the multiple harmonic sums. It plays a key role in processing the differential term. Because we may write the</p><p>multiple harmonic sum H { s } 2 n = 1 ; p − 1 in yet another way by relating it modulo p<sup>4</sup></p><p>to the Stirling numbers on p letters and with 2 n + 1 cycles (those are computable in an easier manner than their homologs), we are able to derive the interesting congruence modulo p announced earlier.</p><p>Another part of the paper is devoted to studying congruences concerning sums of powers of integers weighted by the p-adic integer roots of some polynomials with p-adic integer coefficients, thus generalizing techniques arising from [<xref ref-type="bibr" rid="scirp.127691-ref19">19</xref>] and [<xref ref-type="bibr" rid="scirp.127691-ref7">7</xref>] . We provide these congruences modulo p<sup>3</sup>. The paper is built in such a way that it alternates between the different interconnected projects in order to make the computations nicer to follow. For clarity and in order to distinguish them from the present results, the past results from the other authors have been numbered with 0.i concerning the i-th Theorem or Proposition.</p></sec></sec><sec id="s1_2"><title>1.2. Some Notations</title><p>We shall introduce some standard or some personal notations which we shall use all throughout the paper. Given a prime p, we denote by w p the Wilson quotient and by q a the Fermat quotient in base a with 1 ≤ a ≤ p − 1 . When dealing with Bernoulli numbers, we denote by B t the t-th divided Bernoulli number, by C B ( 2 k ) a convolution of divided Bernoulli numbers of order 2k and by B B B ( 2 k ) a sum of products of three divided Bernoulli numbers whose indices sum up to 2k. Also, using the same notation as in [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] , we denote by T C B ( p + 1 − 2 n , p − 3 ) the following truncated convolutions of divided Bernoulli numbers:</p><p>T C B ( p + 1 − 2 n , p − 3 ) : = ∑ k = p + 1 − 2 n p − 3     B k B 2 ( p − 1 ) − 2 n − k</p><p>Throughout Section 2, we also deal with binomial (resp multinomial) convolutions and thus introduce some notations for these as well. Namely,</p><p>b   C B ( 2 n ) : = ∑ i = 2 2 n − 2 ( 2 n i ) B i B 2 n − i</p><p>and</p><p>m   B B B ( 2 n ) : = ∑ i + j + k = 2 n ( 2 n i , j , k ) B i B j B k</p><p>By a theorem due to Clausen [<xref ref-type="bibr" rid="scirp.127691-ref20">20</xref>] and independently Von Staudt [<xref ref-type="bibr" rid="scirp.127691-ref21">21</xref>] , the denominator of a Bernoulli number B k consists of products of primes p of multiplicity one, such that p − 1 | k . In particular, p B p − 1 = − 1 mod p . A conjecture of Agoh [<xref ref-type="bibr" rid="scirp.127691-ref22">22</xref>] and independently Giuga [<xref ref-type="bibr" rid="scirp.127691-ref23">23</xref>] claims that n B n − 1 = − 1 mod n if and only if n is a prime.</p><p>We will denote the Agoh-Giuga quotient by</p><p>( p B p − 1 ) 1 : = 1 + p B p − 1 p</p><p>when x is a p-adic integer, we denote by ( x ) i its ( i + 1 ) -th p-residue in its Hensel expansion (see e.g. [<xref ref-type="bibr" rid="scirp.127691-ref16">16</xref>] ), that is:</p><p>x = ∑ i = 0 ∞ ( x ) i p i</p><p>It is important to underline that this notation does not apply to nor match with ( p B p − 1 ) 1 which got actually defined independently by being the Agoh-Giuga quotient.</p><p>A quite present Hensel residue throughout the paper will be:</p><p>D i : = ( B p − 1 + i − B i ) 1</p><p>Convolutions and truncated convolutions of these with ordinary or divided Bernoulli numbers are involved and we will thus use notations such as C B D ( 2 n ) , T C B D ( p + 1 − 2 n , p − 3 ) and C B D ( 2 n ) , T C B D ( p + 1 − 2 n , p − 3 ) to denote these respective entities.</p><p>For instance,</p><p>T C B D ( p + 1 − 2 n , p − 3 ) : = ∑ i = p + 1 − 2 n p − 3     B i D 2 ( p − 1 ) − 2 n − i</p><p>Finally, H t denotes the harmonic number of order t. Using standard notations, generalized harmonic numbers are denoted by H p − 1, k or simply H k when it is clearly understood that the order of the sum is p − 1 . When the order of the sum is not p − 1 , we will rather denote these numbers by H n , k where the first index refers to the order of the sum and the second index refers to the index of the power. So, we have:</p><p>H t : = ∑ i = 1 t 1 i         H k : = ∑ x = 1 p − 1 1 x k         H n , k : = ∑ x = 1 n 1 x k</p><p>Last, regarding multiple harmonic sums, we set</p><p>A k , n ⋆ : = ∑ 1 ≤ i 1 &lt; ⋯ &lt; i k ≤ n 1 i 1 ⋯ i k</p><p>We recall that by some version of Wolstenholme’s theorem, the following two congruences H 1 = 0 mod p 2 and H 2 = 0 mod p hold, see [<xref ref-type="bibr" rid="scirp.127691-ref24">24</xref>] .</p></sec><sec id="s1_3"><title>1.3. Some Historical Background</title><p>Sums of powers of integers weighted by the Fermat quotients or by powers of the Fermat quotients have drawn the interest of many mathematicians since the beginning of the twentieth century.</p><p>Sums of powers of integers weighted by the Fermat quotients first appear in 1909 in [<xref ref-type="bibr" rid="scirp.127691-ref8">8</xref>] . Given an even integer t, the authors show that:</p><p>∑ a = 1 p − 1     q a a t = ( − B t mod p if   t ≠ 0 ( mod p − 1 ) w p mod p if   t = 0 ( mod p − 1 )</p><p>Their proof is based on studying the number of numbers divisible by p in the sequence of numbers</p><p>1,2,3, ⋯ , n</p><p>and noticing that this number is congruent modulo p to</p><p>∑ y = 1 n ( 1 − y p − 1 )</p><p>A consequence of Friedmann and Tamarkine’s result is the following.</p><p>A pair ( p , t ) is an irregular pair if and only if</p><p>∑ a = 1 p − 1     q a a t = 0 mod p</p><p>The search for irregular primes has been of importance [<xref ref-type="bibr" rid="scirp.127691-ref25">25</xref>] [<xref ref-type="bibr" rid="scirp.127691-ref26">26</xref>] [<xref ref-type="bibr" rid="scirp.127691-ref27">27</xref>] ever since Kummer [<xref ref-type="bibr" rid="scirp.127691-ref14">14</xref>] showed that Fermat’s last theorem holds when the exponent is a regular prime. An important feature of irregular primes is that the numerators of the divided Bernoulli numbers consist of products of powers of irregular primes, except for B n with n ∈ { 2,4,6,8,10,14 } when it is 1. A study on the irregular prime divisors of the Bernoulli numbers gets pursued by Wells Johnson in [<xref ref-type="bibr" rid="scirp.127691-ref28">28</xref>] .</p><p>Later in 1938, Emma Lehmer generalizes the Friedmann-Tamarkine congruence [<xref ref-type="bibr" rid="scirp.127691-ref9">9</xref>] . She proves that:</p><p>∑ a = 1 p − 1 a 2 t + 1 q a = − p B 2 t mod p 2                     if   2 t ≠ 0 , 2 ( mod p − 1 ) ∑ a = 1 p − 1 a 2 t q a = B p − 1 + 2 t − B 2 t mod p 2     if   2 t ≠ 0 , 2 ( mod p − 1 )</p><p>Her proof is based on congruences concerning sums of powers of integers and on the obvious equality a p − 1 + t − a t = a t p q a .</p><p>We note that the latter two congruences involve non divided Bernoulli numbers. In fact, Ernvall and Mets&#228;nkyla show in their 1991 paper that the differences B p − 1 + 2 t − B 2 t where the Bernoulli numbers have now been replaced with divided Bernoulli numbers also relate modulo p<sup>2</sup> to these sums of powers of integers, but this time weighted by squared Fermat quotients. Explicitly, they generalize the Kummer congruences [<xref ref-type="bibr" rid="scirp.127691-ref29">29</xref>] by showing that:</p><p>Theorem 0.1. Due to Ernvall and Mets&#228;nkyla 1991 [<xref ref-type="bibr" rid="scirp.127691-ref7">7</xref>] . Let t be an even integer. Then,</p><p>∀ 4 ≤ t ≤ p − 3 ,     B p − 1 + t = B t − p 2 ∑ a = 1 p − 1     q a 2 a t mod p 2</p><p>Their theorem follows from another of their own congruences which we recall below. First, it will be necessary to introduce the Teichm&#252;ller characters. These arise for instance from factorizing the polynomial X p − 1 − 1 in ℤ p [ X ] . Indeed, by Hensel’s lemma, each integer 1 ≤ a ≤ p − 1 lifts to a unique p-adic integer root</p><p>ω ( a ) such that | w ( a ) − a | p ≤ 1 p . The polynomial f ( X ) factors as</p><p>f ( X ) = ∏ a = 1 p − 1 ( X − ω ( a ) )</p><p>Writing for each integer a with 1 ≤ a ≤ p − 1 ,</p><p>ω ( a ) = a + p v a   some   a ∈ ℤ p ,</p><p>Ernvall and Mets&#228;nkyla’s congruence reads as follows.</p><p>Proposition 0.1. (due to Ernvall and Mets&#228;nkyla, [<xref ref-type="bibr" rid="scirp.127691-ref7">7</xref>] 1991) Let t be an even integer with 4 ≤ t ≤ p − 3 . Then,</p><p>B t = − ∑ a = 1 p − 1     a t − 1 v a − t − 1 2 p ∑ a = 1 p − 1     a t − 2 v a 2 mod p 2</p><p>Ernvall and Mets&#228;nkyla’s proof is inspired from [<xref ref-type="bibr" rid="scirp.127691-ref19">19</xref>] and is simply based on Newton’s formula and sums of powers of integers. Let t ≥ 1 . Denoting by σ t the elementary symmetric polynomials in the roots of f, namely</p><p>σ t = ∑ 1 ≤ a 1 , ⋯ , a t ≤ p − 1     ω ( a 1 ) ⋯ ω ( a t )</p><p>and by s t the sums</p><p>s t = ∑ a = 1 p − 1     ω ( a ) t ,</p><p>we have by Newton’s formula:</p><p>s t = σ 1 s t − 1 − σ 2 s t − 2 + ⋯ + ( − 1 ) t − 1 t σ t ,       ∀ t = 1 , ⋯ , p − 1</p><p>Moreover, if follows from the expansion</p><p>f ( X ) = X p − 1 − σ 1 X p − 2 + σ 3 X p − 3 + ⋯ − σ p − 2 X + ∏ a = 1 p − 1     ω ( a )</p><p>that</p><p>σ t = 0 ,       ∀ t = 1 , ⋯ , p − 2</p><p>Therefore, we have s t = 0 ∀ t = 1 , ⋯ , p − 2 . Substituting w ( a ) = a + p v a in the equation</p><p>∑ a = 1 p − 1     ω ( a ) t = 0 ,</p><p>expanding the t-th power and reducing modulo p<sup>3</sup> yields the result (see also [<xref ref-type="bibr" rid="scirp.127691-ref15">15</xref>] for the relevant developments on the sums of powers. This is where we need to exclude t = 2 , namely ∑ a = 1 p − 1     a t = p B t mod p 2 only when t ≠ 2 ). Because we have ω ( a ) p − 1 = 1 , we also have</p><p>∑ a = 1 p − 1     ω ( a ) p − 1 + t = 0</p><p>We thus get:</p><p>B p − 1 + t − B t = ∑ a = 1 p − 1     a t − 1 ( − a p − 1 + 1 ) v a + p 2 ∑ a = 1 p − 1     v a 2 a t − 2 mod p 2</p><p>Next, from expanding ( a + p v a ) p = a + p v a modulo p<sup>2</sup>, we see that</p><p>v a = a q a mod p</p><p>The theorem follows. This result is fundamentally used in [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] where a congruence modulo p<sup>4</sup> gets provided for ( p − 1 ) ! in terms of Bernoulli numbers, generalizing Wilson, Glaisher and Sun’s own congruences modulo p, p<sup>2</sup> and p<sup>3</sup> respectively.</p><p>In [<xref ref-type="bibr" rid="scirp.127691-ref6">6</xref>] , on his way to proving his identity which has become commonly known as “Miki’s identity”, Hiroo Miki finds a congruence modulo p<sup>2</sup> for</p><p>∑ a = 1 p − 1     a t q a ,     4 ≤ t ≤ p − 3</p><p>This congruence involves convolutions of divided Bernoulli numbers, binomial convolutions of divided Bernoulli numbers, truncated convolutions of divided Bernoulli numbers as well as the Agoh-Giuga quotient and harmonic numbers of order t. He first finds an expansion for a q a ,   1 ≤ a ≤ p − 1 to the modulus p<sup>2</sup>. We state Miki’s result below using our own notations.</p><p>Theorem 0.2. Due to Miki (1978) [<xref ref-type="bibr" rid="scirp.127691-ref6">6</xref>] . Let t be an even integer with 4 ≤ t ≤ p − 3 . Let n be the integer such that t = p − 1 − 2 n . Then,</p><p>∑ a = 1 p − 1     a t q a = − B t + { ( ( p B p − 1 ) 1 + ( 1 − ( p B p − 1 ) ) t + H t ) B t + t − 2 2 C B ( t )       + 1 2 b C B ( t ) + t − 1 2 T C B ( p + 1 − 2 n , p − 3 ) } p     ( mod p 2 ) (1)</p><p>By doing a similar work on the weighted sums</p><p>∑ a = 1 p − 1     a t q a 2 ,     4 ≤ t ≤ p − 3 ,</p><p>he obtains a congruence modulo p for these sums in terms of convolutions of divided Bernoulli numbers, of truncated convolutions of divided Bernoulli numbers and of the Agoh-Giuga quotient.</p><p>Independently in [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] , we obtain a congruence relating residues of convolutions of divided Bernoulli numbers with residues of truncated convolutions of Bernoulli numbers. By using Ernvall and Mets&#228;nkyla’s theorem, our Theorem 1 point (i) of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] is Lemma 4 of [<xref ref-type="bibr" rid="scirp.127691-ref6">6</xref>] with m = p − 1 − 2 n and 6 ≤ m ≤ p − 5 .</p><p>Before closing this introduction, we recall below Miki’s identity and its generalization by Gessel. The identity by Gessel relates a multinomial convolution of three divided Bernoulli numbers to a convolution of three divided Bernoulli numbers, while Miki’s identity relates a binomial convolution of divided Bernoulli numbers to a convolution of divided Bernoulli number. We state both results below using our own notations.</p><p>Theorem 0.3. Miki’s identity 1978 [<xref ref-type="bibr" rid="scirp.127691-ref6">6</xref>] .</p><p>∑ i = 2 m − 2     B i B m − i = ∑ i = 2 m − 2 ( m i ) B i B m − i + 2 H m B m</p><p>Theorem 0.4. Gessel’s identity 2005 [<xref ref-type="bibr" rid="scirp.127691-ref18">18</xref>] .</p><p>∑ i + j + k = n i , j , k ≥ 2 ( n i , j , k ) B i B j B k + 3 H n ∑ i = 2 n − 2 ( n i ) B i B n − i + 6 A 2 , n ⋆ B n = B B B ( n ) + n 2 − 3 n + 5 4 B n − 2</p><p>In 1982, Shiratani and Yokoyama gave another proof for Miki’s identity. Their proof of [<xref ref-type="bibr" rid="scirp.127691-ref30">30</xref>] is very different from Miki’s original proof as it uses integration and analysis methods. It wasn’t until 2005 that Gessel gave a much simpler proof of Miki’s identity and one which generalizes as in Theorem 0.4. Gessel’s proof is based on two different expressions for Stirling numbers of the second kind. An identity related to Miki’s was found in 2000 by Faber and Pandharipande [<xref ref-type="bibr" rid="scirp.127691-ref31">31</xref>] and proven by Zagier. Some authors like [<xref ref-type="bibr" rid="scirp.127691-ref32">32</xref>] have then been talking about the Miki-Zagier-Gessel identity. By using his approach, Gessel could find a generalization of the Faber-Pandharipande identity, which is also a generalization of the Miki identity. Shortly after in the same year, Crabb [<xref ref-type="bibr" rid="scirp.127691-ref33">33</xref>] gave a very short and simple proof for this generalization originally due to Gessel, from a functional equation for the generating function</p><p>∑ n ≥ 0 B n ( λ ) n ! X n</p><p>Still around the same time, Schubert and Dunne found out that Miki’s identity arises naturally in a certain computation in perturbative quantum field theory. They use a different generating function which plays an important role in quantum field theory computations in order to prove Miki’s identity. They also prove the Faber-Pandharipande identity by using yet another different generating function. By noticing that both generating functions are related in a certain way, they also find a novel convolution identity. By their approach, they also find a cubic generalization of the Faber-Pandharipande identity. Further, they outline the generalization of the method to the derivation of convolution identities of arbitrary order. Their work appears in [<xref ref-type="bibr" rid="scirp.127691-ref1">1</xref>] .</p><p>Remark 1. Multinomial convolutions of ordinary Bernoulli numbers were also studied by different authors, originating with Euler when the number N of Bernoulli numbers in the product equals 2. Then, in [<xref ref-type="bibr" rid="scirp.127691-ref34">34</xref>] , Sitaramachandrarao and Davis generalized Euler’s formula to the case when N = 3 , 4 . The cases N = 5 and N = 6 , 7 were further respectively studied by Sankaranaryanan [<xref ref-type="bibr" rid="scirp.127691-ref35">35</xref>] and Zhang [<xref ref-type="bibr" rid="scirp.127691-ref36">36</xref>] . The full generalization to any N was finally achieved by Petojević and Srivastava in [<xref ref-type="bibr" rid="scirp.127691-ref37">37</xref>] , based also on Dilcher’s results of [<xref ref-type="bibr" rid="scirp.127691-ref38">38</xref>] . Their closed formula involves some Stirling numbers of the first kind.</p><p>Remark 2. In 2010 in [<xref ref-type="bibr" rid="scirp.127691-ref39">39</xref>] , the authors derive yet another type of quadratic convolution identities involving Bernoulli numbers, not obviously related to any included in [<xref ref-type="bibr" rid="scirp.127691-ref34">34</xref>] .</p><p>Remark 3. In 2016 in [<xref ref-type="bibr" rid="scirp.127691-ref40">40</xref>] , Agoh gave yet another proof of Miki’s identity, based on Faulhaber’s formula for the sums of powers of integers (sometimes known as the “Bernoulli formula”).</p><p>Before stating the results of the current paper, we state below a weaker version of Miki’s lemma 1 of [<xref ref-type="bibr" rid="scirp.127691-ref6">6</xref>] which we shall use several times in the current paper.</p><p>Proposition 0.2. Weaker version of Lemma 1 of [<xref ref-type="bibr" rid="scirp.127691-ref6">6</xref>] by Miki. Let a be an integer with 1 ≤ a ≤ p − 1 . Then, we have:</p><p>a q a = − 1 + ( 1 − ( p B p − 1 ) 1 ) a − ∑ k = 1 p − 3 1 p ( p k ) B k a p − k mod p</p><p>We briefly recall a proof of this fact. Denote the sums of powers of integers by</p><p>S m ( n ) : = 1 m + 2 m + ⋯ + ( n − 1 ) m</p><p>Then, Bernoulli’s formula reads (see e.g. [<xref ref-type="bibr" rid="scirp.127691-ref15">15</xref>] ), (in the formula below B 1 = − 1 2 ),</p><p>( m + 1 ) S m ( n ) = ∑ i = 1 m + 1 ( m + 1 i ) B m + 1 − i n i</p><p>In particular, letting m = p − 1 and n = a , we have for each integer a with 1 ≤ a ≤ p − 1 :</p><p>p S p − 1 ( a ) = a p + a p B p − 1 + ∑ i = 2 p − 1 ( p i ) B p − i a i</p><p>And after the change of indices j = p − i , we obtain:</p><p>p S p − 1 ( a ) = a p + a p B p − 1 + ∑ j = 1 p − 2 ( p j ) B j a p − j</p><p>Since a p = a + a q a p and p B p − 1 = − 1 + p ( p B p − 1 ) 1 , this equality rewrites as:</p><p>S p − 1 ( a ) = a q a + ( p B p − 1 ) 1 a + ∑ j = 1 p − 2 1 p ( p j ) B j a p − j</p><p>On the other hand, since k p − 1 = 1 + q k p , we have:</p><p>S p − 1 ( a ) = a − 1 + p ∑ k = 1 a − 1     q k</p><p>Comparing the latter two identities yields Proposition 0.2.</p></sec><sec id="s1_4"><title>1.4. New Results</title><p>Our first theorem is based on a special case of Ira Gessel’s identity (listed as Theorem 0.4 of Section 1.3) and on Hiroo Miki’s identity (listed as Theorem 0.3 of Section 1.3). It also relies on a result by Jianqiang Zhao from 2007 [<xref ref-type="bibr" rid="scirp.127691-ref41">41</xref>] , which combined with our work of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] provides the harmonic number H p − 1 modulo p<sup>3</sup>. Recall that this number is zero modulo p<sup>2</sup> by Wolstenholme’s theorem. The proof of the theorem below is saved for the very end of the paper.</p><p>Theorem 0.</p><p>∑ i = 2 p − 3     B i B p − 1 − i H p − 1 − i = 2 B p − 3 mod p</p><p>Corollary 0.</p><p>∑ i = 2 p − 3     H i   B i B p − 1 − i = ∑ i = 2 p − 3     H i B i B p − 1 − i = − B p − 3 mod p</p><p>Our next results serve as preliminary results towards the core theorem of the current paper listed below as Theorem 6. However, these results are interesting in their own sake and generalize the works of the group of mathematicians evoked before. By generalizing Reijo Ernvall and Tauno Mets&#228;nkyla’s congruences described in Proposition 0.1 and Theorem 0.1, of Section 1.3 to odd integers t, we obtain a “Lehmer type” congruence like stated in Theorem 1 below. This is a necessary step towards finding novel congruences concerning sums of powers of integers weighted by the third power of the Fermat quotient, thus pushing the study of such sums “one Fermat quotient power” further.</p><p>Theorem 1. Let t be an odd integer with 5 ≤ t ≤ p − 2 . Then,</p><p>B p − 1 + t − 1 − B t − 1 = − ∑ a = 1 p − 1     a t q a 2 mod p</p><p>By comparing this congruence modulo p to the one of Emma Lehmer modulo p<sup>2</sup>, we derive in turn the following statement.</p><p>Corollary 1. Let t be an odd integer with 5 ≤ t ≤ p − 2 and let ω ( a ) = a + p v a be the Teichm&#252;ller character associated to each a with 1 ≤ a ≤ p − 1 .</p><p>The following congruences hold.</p><p>Version 1.</p><p>∑ a = 1 p − 1     q a 2 a t = − ∑ a = 1 p − 1     q a a t − 1 mod p</p><p>Version 2.</p><p>∑ a = 1 p − 1     q a a t − 1 ( 1 + v a ) = 0 mod p</p><p>A straightforward consequence of Theorem 1 is also the following.</p><p>Corollary 2. Let t be an even integer with 4 ≤ t ≤ p − 3 . Then,</p><p>B t = ∑ a = 1 p − 1     a t + 1 q a 2 mod p</p><p>This is the version of Theorem 1 which we later use. The sum studied in the next theorem below is present in the congruence for the multiple harmonic sums A 2 n ⋆ ,2 n ≤ p − 5 modulo p<sup>4</sup> of Theorem 3 of [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] . This sum appears to be in connection with the sum of 2n-th powers of integers weighted by the third power of the Fermat quotient, like follows.</p><p>Theorem 2. Fix some integer n. Then,</p><p>∑ a = 1 p − 1     ∑ i = 1 p − 3 B i a i q a 2 a 2 n = w p ∑ a = 1 p − 1 q a 2 a 2 n + ∑ a = 1 p − 1 q a 3 a 2 n mod p</p><p>A joint application of Theorem 2, Corollary 2 applied with t + 1 = p − 2 − 2 n implies in turn the following result.</p><p>Corollary 3. Fix some integer n. Then,</p><p>∑ a = 1 p − 1     ∑ i = 2 p − 3 B i a i q a 2 a 2 n = w p ∑ a = 1 p − 1 q a 2 a 2 n + ∑ a = 1 p − 1 q a 3 a 2 n + 1 2 B p − 3 − 2 n mod p</p><p>When 2 n = 0 , this sum plays a central role in [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] in relation to finding an expansion for ( p − 1 ) ! to the modulus p<sup>4</sup>, a generalization of Wilson, Glaisher and Sun’s results to the respective moduli p, p<sup>2</sup> and p<sup>3</sup>.</p><p>Some parts of the next two statements serve as a preparation to part of Theorem 5 below.</p><p>Theorem 3.</p><p>∑ a = 1 p − 1     q a 2 = − w p 2 − C B ( p − 1 ) mod p = − ( ( p B p − 1 ) 1 − 1 ) 2 − ( 2 p B 2 ( p − 1 ) − p 2 B p − 1 2 ) 2 mod p = p B 2 ( p − 1 ) − 2 p B p − 1 + p − 1 p 2 mod p</p><p>Remark 4. By an unpublished result of Sun [<xref ref-type="bibr" rid="scirp.127691-ref42">42</xref>] which got later generalized in a published version [<xref ref-type="bibr" rid="scirp.127691-ref43">43</xref>] , we have for any non-negative integer k,</p><p>p B k ( p − 1 ) = − ( k − 1 ) ( p − 1 ) + k p B p − 1 mod p 2</p><p>The last congruence of Theorem 3 offers a proof for the base case k = 2 . Sun’s congruence can then be shown by induction on k ≥ 2 using the fact that p k divides ∑ a = 1 p − 1 ( a p − 1 − 1 ) k . This namely implies that:</p><p>p   B k ( p − 1 ) = p ∑ l = 1 k − 1 ( k l ) B ( p − 1 ) ( k − l ) ( − 1 ) l − 1 + ( − 1 ) k − 1 ( p − 1 ) mod p 2</p><p>Theorem 4.</p><p>∑ a = 1 p − 1     q a 2 a 2 = 1 6 w p − 1 4 − T C B ( 4 , p − 3 ) mod p = − 2 ( B p + 1 − B 2 ) 1 − 1 2 mod p = 6 p B 2 p − 12 p B p + 1 + p ( p − 1 ) ( 2 p − 1 ) 6 p 2 mod p</p><p>We now state the long announced generalization of the Friedmann-Tamarkin-Lehmer-Ernvall-Mets&#228;nkyla congruences.</p><p>Theorem 5. Let p be a prime with p ≥ 7 . Set an integer n such that 2 ≤ 2 n ≤ p − 5 . Then, we have:</p><p>∑ a = 1 p − 1 q a 3 a 2 n = − 2 ∑ i = 2 p − 5 − 2 n     B i ( B 2 ( p − 1 ) − 2 n − i − B p − 1 − 2 n − i ) 1 + 2 w p ( B 2 ( p − 1 ) − 2 n − B p − 1 − 2 n ) 1     − ( 1 + 2 ( B p + 1 − B 2 ) 1 ) B p − 3 − 2 n − ( w p 2 + C B ( p − 1 ) ) B p − 1 − 2 n     − 2 ∑ i = p + 1 − 2 n p − 3     B i ( B 3 ( p − 1 ) − 2 n − i − B 2 ( p − 1 ) − 2 n − i ) 1 mod p = p B 4 ( p − 1 ) − 2 n − 3 p B 3 ( p − 1 ) − 2 n + 3 p B 2 ( p − 1 ) − 2 n − p B p − 1 − 2 n p 3 − B p − 3 − 2 n mod p</p><p>and</p><p>w p = ( p B p − 1 ) 1 − 1 mod p</p><p>C B ( p − 1 ) = ( 2 p B 2 ( p − 1 ) − p 2 B p − 1 2 ) 2 mod p</p><p>(Case 2 n = 0 )</p><p>∑ a = 1 p − 1     q a 3 = − ( 1 + 2 ( B p + 1 − B 2 ) 1 ) B p − 3 + w p ( w p 2 + C B ( p − 1 ) )       − 2 ∑ k = 2 p − 5     B k ( B 2 ( p − 1 ) − k − B p − 1 − k ) 1 mod p = p B 3 ( p − 1 ) − 3 p B 2 ( p − 1 ) + 3 p B p − 1 − p + 1 p 3 − B p − 3 mod p</p><p>In each case, the second congruence arises from a different perspective.</p><p>In the general case, we deduce a very nice congruence which is a generalization of the congruence of Theorem 1 point (i) of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] .</p><p>Corollary 4. Let p be a prime with p ≥ 11 . Let n be an integer such that 4 ≤ 2 n ≤ p − 7 . Then,</p><p>T C B D ( p + 1 − 2 n , p − 3 ) = − C B D ( p − 1 − 2 n ) + w p ( B 2 ( p − 1 ) − 2 n − B p − 1 − 2 n ) 1 − 1 2 ( w p 2 + C B ( p − 1 ) ) B p − 1 − 2 n         − p B 4 ( p − 1 ) − 2 n − 3 p B 3 ( p − 1 ) − 2 n + 3 p B 2 ( p − 1 ) − 2 n − p B p − 1 − 2 n 2 p 3 mod p</p><p>In the case when 2 n = 0 , we also have a nice corollary.</p><p>Corollary 5. The following congruence holds.</p><p>− 1 2 ∑ a = 1 p − 1     ∑ k = 2 p − 5 B k a k q a 2 = − ( B p + 1 − B 2 ) 1 B p − 3 + w p 2 ( w p 2 + C B ( p − 1 ) )       − p B 3 ( p − 1 ) − 3 p B 2 ( p − 1 ) + 3 p B p − 1 − p + 1 2 p 3 mod p</p><p>with the residues of w p and C B ( p − 1 ) already provided above.</p><p>Up to a factor p<sup>3</sup>, this sum was called S and had served as an intermediate in [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] for the calculation of the residue of the same sum with the divided Bernoulli numbers being replaced with the ordinary ones. The sum S was actually never computed as this intermediate gently vanished during the computation.</p><p>Corollary 3 and Theorem 5 play a key role in the proof for Theorem 6 below. The result also relies heavily on our past work on the multiple harmonic sums</p><p>H { s } 2 l = 1 ; p − 1 modulo p<sup>4</sup> of [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] and on Gessel’s identity of [<xref ref-type="bibr" rid="scirp.127691-ref18">18</xref>] .</p><p>Theorem 6. Let p be an odd prime with p ≥ 11 and n be an integer with 4 ≤ 2 n ≤ p − 7 . Then,</p><p>T C B D = − C B D + C B D + 1 2 ( C B ( p − 1 − 2 n ) + T C B ( p + 1 − 2 n , p − 3 ) ) 1       + 2 n ( B 3 ( p − 1 ) − 2 n − 2 B 2 ( p − 1 ) − 2 n + B p − 1 − 2 n ) 2 − ( B 2 ( p − 1 ) − 2 n − B p − 1 − 2 n ) 2       − 1 2 ( 2 ( ( p B p − 1 ) 1 − 1 ) B p − 1 − 2 n + 2 ( B 2 ( p − 1 ) − 2 n − B p − 1 − 2 n ) 1 ) 1       − w p ( B 2 ( p − 1 ) − 2 n − B p − 1 − 2 n ) 1</p><p>  + { ( 2 n + 1 2 ) C B ( p − 1 ) + w p ( 2 n − 1 + 2 n + 1 2 w p )   + 2 n ( p B p − 1 − p + 1 2 p 2 B p − 1 2 + p B p − 1 − p B 2 ( p − 1 ) ) 2 } B p − 1 − 2 n   + 2 n + 1 2 p B 4 ( p − 1 ) − 2 n − 3 p B 3 ( p − 1 ) − 2 n + 3 p B 2 ( p − 1 ) − 2 n − p B p − 1 − 2 n p 3 mod p</p><p>Remark 5. In Theorem 6 just stated, in order to have the truncated convolutions well defined, it necessary to impose 2 n ≥ 4 . As for the upper bound, 2 n ≤ p − 7 , it is necessary to have in order to be able to apply Theorem 1 point (i) of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] .</p><p>Applying Theorem 6 in the special case when 2 n = 4 allows to relate the p-residue of a convolution of order ( p − 5 ) of ordinary Bernoulli numbers with Ernvall-Mets&#228;nkyla residues to the second residue in the p-adic expansion of a convolution of order ( p − 5 ) of divided Bernoulli numbers. Also, applying Theorem 6 in the other extremal case corresponding this time to 2 n = p − 7 allows to relate the p-residue of a truncated convolution of ordinary Bernoulli numbers with Ernvall-Mets&#228;nkyla residues to the second residue in the p-adic expansion of the same truncated convolution of divided Bernoulli numbers. That is, under our notations, we relate ( C B D ( p − 5 ) ) 0 and ( C B ( p − 5 ) ) 1 on one hand and ( T C B D ( 8, p − 3 ) ) 0 and ( T C B ( 8, p − 3 ) ) 1 on the other hand. The results are gathered in the following corollary.</p><p>Corollary 6.</p><p>(i) ∑ i = 2 p − 7     B i ( B p − 1 + p − 5 − i − B p − 5 − i ) 1 = 1 2 ( C B ( p − 5 ) + B p − 3 2 ) 1 + 2 ( B 2 p − 4 − B p − 3 ) 1 B p − 3 + { 4 C B ( p − 1 )           + w p ( 3 + 2 w p ) + 4 ( p B p − 1 − p + 1 2 p 2 B p − 1 2 + p B p − 1 − p B 2 ( p − 1 ) ) 2 } B p − 5       + 4 ( B 3 p − 7 − 2 B 2 p − 6 + B p − 5 ) 2 − ( B 2 p − 6 − B p − 5 ) 2</p><p>      − 1 2 ( 2 ( ( p B p − 1 ) 1 − 1 ) B p − 5 + 2 ( B 2 p − 6 − B p − 5 ) 1 ) 1       + 2 p B 4 p − 8 − 3 p B 3 p − 7 + 3 p B 2 p − 6 − p B p − 5 p 3 mod p</p><p>(ii) ∑ i = 8 p − 3     B i ( B p − 1 + p + 5 − i − B p + 5 − i ) 1 = 1 2 ( C B ( 6 ) + T C B ( 8 , p − 3 ) ) 1 − ( B p − 1 + 4 − B 4 ) 1 B 2 − 3 ( B p − 1 + 2 − B 2 ) 1 B 4         + { − 13 2 C B ( p − 1 ) − w p ( 8 + 3 w p ) − 7 ( p B p − 1 − p + 1 2 p 2 B p − 1 2 + p B p − 1         − p B 2 ( p − 1 ) ) 2 } B 6 − 7 ( B 2 p + 4 − 2 B p + 5 + B 6 ) 2 − ( B p + 5 − B 6 ) 2         − 1 2 ( 2 ( ( p B p − 1 ) 1 − 1 ) B 6 + 2 ( B p + 5 − B 6 ) 1 ) 1 − w p ( B p + 5 − B 6 ) 1         − 3 p B 3 p + 3 − 3 p B 2 p + 4 + 3 p B p + 5 − p B 6 p 3 mod p</p><p>Our last theorem deals with congruences concerning sums of powers of integers weighted by the Teichm&#252;ller characters and by some analogs of the Teichm&#252;ller characters. These characters (resp their analogs as defined below) arise from an application of Hensel’s lemma to the polynomial X p − 1 − 1 ∈ ℤ p [ X ] (resp X p − 1 + ( p − 1 ) ! ∈ ℤ p [ X ] , X p − 1 + p B p − 1 ∈ ℤ p [ X ] ). Given a polynomial f ( X ) with p-adic integer coefficients, Hensel’s lemma asserts that if there exists a p-adic integer x such that f ( x ) ∈ p ℤ p and f ′ ( x ) ∉ p ℤ p (in other words, f ′ ( x ) is a unit in the ring of p-adic integers), then there exists a unique p-adic integer root x 0 of f such that x 0 ≡ x mod p ℤ p . We say that x lifts to a unique root x 0 of f. The ( p − 1 ) elements of F p &#215; lift to ( p − 1 ) distinct roots of the respective polynomials above. In the case of the first polynomial, the Teichm&#252;ller character of a ∈ F p &#215; is the unique ( p − 1 ) -th root of unity in ℤ p which is congruent to a modulo p.</p><p>Theorem 7. Let t be an integer with 4 ≤ t ≤ p − 2 .</p><p>(i) We denote by the ω a ’s the ( p − 1 ) p-adic integer roots of the polynomial X p − 1 − 1 ∈ ℤ p [ X ] . The ω a ’s are the Teichm&#252;ller characters.</p><p>Then, we have:</p><p>∑ a = 1 p − 1     a t − 1 ω a = ( p ( t − 1 ) B p − 1 + t mod p 3 if   t   is   even p 2 ( t 2 − 1 ) B t − 1 mod p 3 if   t   is   odd</p><p>(ii) We denote by the Ω a ’s the ( p − 1 ) p-adic integer roots of the polynomial X p − 1 + ( p − 1 ) ! ∈ ℤ p [ X ] .</p><p>Then, we have:</p><p>∑ a = 1 p − 1     a t − 1 Ω a = ( p ( t − 1 ) ( B p − 1 + t + p w p B t ) mod p 3 if   t   is   even p 2 ( t 2 − 1 ) B t − 1 mod p 3 if   t   is   odd</p><p>(iii) We denote by the γ a ’s the ( p − 1 ) p-adic integer roots of the polynomial X p − 1 + p B p − 1 ∈ ℤ p [ X ] .</p><p>Then, we have:</p><p>∑ a = 1 p − 1     a t − 1 γ a = ( p ( t − 1 ) ( B p − 1 + t + p ( p B p − 1 ) 1 B t ) mod p 3 if   t   is   even p 2 ( t 2 − 1 ) B t − 1 mod p 3 if   t   is   odd</p></sec></sec><sec id="s2"><title>2. Proofs of the Theorems</title><sec id="s2_1"><title>2.1. Where We Apply Gessel’s Identity</title><p>This is the most technical part of the discussion. We build upon the work of [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] which provides expressions for the Stirling numbers [ p 2 n + 1 ] (also denoted by A p − 1 − 2 n for the sum of products of p − 1 − 2 n distinct integers chosen amongst the first p − 1 integers) and the multiple harmonic sums H { s } 2 n = 1 ; p − 1 (also denoted by A 2 n ⋆ for the sum of products of 2n distinct reciprocals of integers chosen amongst the first p − 1 integers) modulo p<sup>4</sup>. We will go straight into the technical details. On one hand, the conjunction of Theorem 1 and Theorem 2 point (i) of [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] allow to write:</p><p>A 2 n ⋆ = p 3 6 B B B ( p − 1 − 2 n ) + p ( 1 + p w p ( 1 + p w p ) ) B p − 1 − 2 n       + 4 ( 2 n + 1 ) 2 + 6 ( 2 n + 1 ) + 5 24 p 3 B p − 3 − 2 n       − p 2 2 ( 1 + p w p ) C B ( p − 1 − 2 n ) mod p 4 (2)</p><p>On the other hand, we may list the main contributors from Theorem 3 of [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] as follows.</p><p>A 2 n ⋆ = p 3 6 B B B ( p − 1 − 2 n ) − 2 n − 1 12 n p 3 ( B B B ( 2 ( p − 1 ) − 2 n ) − B B B ( p − 1 − 2 n ) )       + p 3 4 n ∑ a = 1 p − 1 ( ∑ i = p + 1 − 2 n p − 5 ( 2 n + 1 ) B i + B i a i + ∑ i = 2 p − 7 − 2 n B i + B i a i ) q a 2 a 2 n + O T mod p 4 (3)</p><p>where the other terms OT must be copied from the theorem itself.</p><p>We will study modulo p<sup>4</sup> the differential term:</p><p>p 3 Δ : = p 3 ( B B B ( 2 ( p − 1 ) − 2 n ) − B B B ( p − 1 − 2 n )</p><p>By using the Gessel identity, we may partly reduce this study to that of another simpler differential term, this time composed of multinomial cubic convolutions, namely:</p><p>p 3 m Δ : = p 3 ( m B B B ( 2 ( p − 1 ) − 2 n ) − m B B B ( p − 1 − 2 n ) )</p><p>Before we start the computation, it is worth noting that for integers n , i , j , k such that i + j + k = n , we have:</p><p>( n i , j , k ) = n ! i ! j ! ( n − i − j ) ! = n ! ( n − i ) ( n − i − 1 ) ⋯ ( n − i − j + 1 ) i ! ( n − i ) ! j ! = ( n i ) ( n − i j )</p><p>We will split m B B B ( 2 ( p − 1 ) − 2 n ) into three sums, say S 1 , S 2 and S 3 , namely:</p><p>S 1 = ( 2 ( p − 1 ) − 2 n p − 1 ) B p − 1 ∑ j = 2 p − 3 − 2 n ( p − 1 − 2 n j ) B j B p − 1 − 2 n − j</p><p>S 2 = ∑ i = 2 p − 3 ( 2 ( p − 1 ) − 2 n i ) B i ∑ j = 2 2 ( p − 1 ) − 2 n − i − 2 ( 2 ( p − 1 ) − 2 n − i j ) B j B 2 ( p − 1 ) − 2 n − i − j</p><p>S 3 = ∑ i = p + 1 2 ( p − 1 ) − 2 n − 4 ( 2 ( p − 1 ) − 2 n i ) B i ∑ j = 2 2 ( p − 1 ) − 2 n − i − 2 ( 2 ( p − 1 ) − 2 n − i j ) B j B 2 ( p − 1 ) − 2 n − i − j = ∑ s = 4 p − 3 − 2 n ( 2 ( p − 1 ) − 2 n s ) B 2 ( p − 1 ) − 2 n − s ∑ j = 2 s − 2 ( s j ) B j B s − j</p><p>By Von Staudt-Clausen’s theorem, the sum S 3 may be treated modulo p. When s ≤ p − 3 − 2 n , Kummer’s congruence applies and yields B 2 ( p − 1 ) − 2 n − s = B p − 1 − 2 n − s mod p . Moreover, by a straightforward application of the Chu-Vandermonde identity and from other well known binomial congruences and identities (see e.g. [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] ), we easily derive:</p><p>( 2 ( p − 1 ) − 2 n s ) = ( p − 1 − 2 n s ) + s 2 n + 1 ( p − 1 − 2 n s ) mod p</p><p>And since we also have,</p><p>m B B B ( p − 1 − 2 n ) = ∑ i = 2 p − 5 − 2 n ( p − 1 − 2 n i ) B i ∑ j = 2 p − 1 − 2 n − i − 2 ( p − 1 − 2 n − i j ) B j B p − 1 − 2 n − i − j = ∑ s = 4 p − 3 − 2 n ( p − 1 − 2 n s ) B p − 1 − 2 n − s ∑ j = 2 s − 2 ( s j ) B j B s − j ,</p><p>we therefore obtain:</p><p>S 3 − m B B B ( p − 1 − 2 n ) = 1 2 n + 1 ∑ s = 4 p − 3 − 2 n s ( p − 1 − 2 n s ) B p − 1 − 2 n − s ∑ j = 2 s − 2 ( s j ) B j B s − j</p><p>After a change of indices, the right hand side above rewrites as:</p><p>1 2 n + 1 ∑ l = 2 p − 5 − 2 n ( p − 1 − 2 n − l ) ( p − 1 − 2 n l ) B l ∑ j = 2 p − 1 − 2 n − l − 2 ( p − 1 − 2 n − l j ) B j B p − 1 − 2 n − l − j ,</p><p>which in turn is congruent modulo p to:</p><p>− m B B B ( p − 1 − 2 n ) − 1 2 n + 1 ∑ l = 2 p − 1 − 2 n − 4 ( p − 1 − 2 n l ) B l ∑ j = 2 p − 1 − 2 n − l − 2 ( p − 1 − 2 n − l j ) B j B p − 1 − 2 n − l − j</p><p>The sum to the right hand side is a multinomial cubic convolution of divided Bernoulli numbers where one of the divided Bernoulli number has been replaced with a regular Bernoulli number. By considering thrice such a sum, we see that this convolution is nothing else than:</p><p>p − 1 − 2 n 3 m B B B ( p − 1 − 2 n )</p><p>And so,</p><p>S 3 − m B B B ( p − 1 − 2 n ) = − 2 3 m B B B ( p − 1 − 2 n ) mod p (4)</p><p>Next, in order to tackle S 2 we will split it. Indeed, when i ≥ p − 1 − 2 n , we have p − 1 &lt; i + 2 n + 2 , then 2 ( p − 1 ) − 2 n − i − 2 &lt; p − 1 . Therefore the corresponding sum may be treated modulo p. We thus write:</p><p>S 2 = ∑ i = 2 p − 3 − 2 n ( 2 ( p − 1 ) − 2 n i ) B i ∑ j = 2 2 ( p − 1 ) − 2 n − i − 2 ( 2 ( p − 1 ) − 2 n − i j ) B j B 2 ( p − 1 ) − 2 n − i − j       + ∑ i = p − 1 − 2 n p − 3 ( 2 ( p − 1 ) − 2 n i ) B i ∑ j = 2 2 ( p − 1 ) − 2 n − i − 2 ( 2 ( p − 1 ) − 2 n − i j ) B j B 2 ( p − 1 ) − 2 n − i − j</p><p>Moreover, the sum of the second row is congruent to zero modulo p as p divides</p><p>the binomial coefficient ( 2 ( p − 1 ) − 2 n i ) for this whole range of i. Further,</p><p>dealing now with the first row, when i = p − 3 − 2 n , we have 2 ( p − 1 ) − 2 n − i − 2 = p − 1 and when i &lt; p − 3 − 2 n , we have</p><p>2 ( p − 1 ) − 2 n − i − 2 &gt; p − 1 . In the first case, by Staudt’s theorem, only the extreme</p><p>indices contribute to the right hand sum as p divides ( p + 1 j ) for this whole range of j. In the second case, when p + 1 − 2 n − i ≤ j ≤ p − 3 , for this whole range of j, p divides ( 2 ( p − 1 ) − 2 n − i j ) . Then, after the adequate reductions modulo p we are left with three main contributions</p><p>S 2 = S 2 , 1 + S 2 , 2 + S 2 , 3</p><p>with:</p><p>S 2,1 = ( p + 1 ) p B p − 1 B 2 ( 2 ( p − 1 ) − 2 n p − 3 − 2 n ) B p − 3 − 2 n</p><p>S 2 , 2 = 2 ∑ i = 2 p − 5 − 2 n ( 2 ( p − 1 ) − 2 n i ) B i ( 2 ( p − 1 ) − 2 n − i p − 1 ) B p − 1 B p − 1 − 2 n − i</p><p>S 2 , 3 = 2 ∑ i = 2 p − 5 − 2 n ( 2 ( p − 1 ) − 2 n i ) B i ∑ j = 2 p − 3 − 2 n − i ( 2 ( p − 1 ) − 2 n − i j ) B j B 2 ( p − 1 ) − 2 n − i − j</p><p>Regarding S 2,1 , we have</p><p>( 2 ( p − 1 ) − 2 n p − 3 − 2 n ) = 2 p − 1 − 2 n ( p − 1 − 2 n p − 3 − 2 n ) mod p = − ( 2 n + 2 ) mod p</p><p>Therefore,</p><p>S 2 , 1 = − 1 6 ( n + 1 ) B p − 3 − 2 n mod p (5)</p><p>Dealing with S 2,2 relies on proving the following lemma.</p><p>Lemma 1. Let i be an integer with 0 ≤ i ≤ p − 3 − 2 n .</p><p>( 2 ( p − 1 ) − 2 n − i p − 1 ) B p − 1 ∈ ℤ p</p><p>and</p><p>( 2 ( p − 1 ) − 2 n − i p − 1 ) B p − 1 = − 1 2 n + 1 + i mod p ℤ p</p><p>Proof of Lemma 1. For this range of i, we have 2 ( p − 1 ) − 2 n − i &gt; p . Therefore,</p><p>( 2 ( p − 1 ) − 2 n − i p − 1 ) = p ( p + p − 2 − 2 n − i ) ( p + p − 3 − 2 n − i ) ⋯ ( p + 1 ) ( p − 1 − 2 n − i ) !</p><p>Moreover, p B p − 1 = 1 mod p ℤ p , hence the lemma.</p><p>Since, for this same range of non-zero even i’s, we also have:</p><p>( 2 ( p − 1 ) − 2 n i ) = ( p − 1 − 2 n i ) 2 n + 1 + i 2 n + 1 mod p ,</p><p>we thus get:</p><p>S 2 , 2 = n + 1 6 B p − 3 − 2 n − 2 2 n + 1 b C B ( p − 1 − 2 n ) mod p (6)</p><p>Concerning S 2,3 , for the ranges of even i’s and j’s that are considered, we have:</p><p>( 2 ( p − 1 ) − 2 n − i j ) = ( p − 1 − 2 n − i j ) 2 n + 1 + i + j 2 n + 1 + i mod p</p><p>It follows that:</p><p>S 2 , 3 = ∑ i = 2 p − 5 − 2 n ( p − 1 − 2 n i ) B i ∑ j = 2 p − 3 − 2 n − i 2 n + 1 + i + j 2 n + 1 ( p − 1 − 2 n − i j ) B j B p − 1 − 2 n − i − j mod p</p><p>Therefore,</p><p>S 2 , 3 = 2 3 m B B B ( p − 1 − 2 n ) mod p (7)</p><p>It remains to treat S 1 . Applying Lemma 1 with i = 0 immediately yields:</p><p>S 1 = − 1 2 n + 1 b C B ( p − 1 − 2 n ) mod p (8)</p><p>By gathering congruences (3)-(7), we obtain, where we also used Miki’s identity and the fact that H p − 1 − 2 n = H 2 n mod p (as H p − 1 = 0 mod p by Wolstenholme’s theorem):</p><p>p 3 m Δ = p 3 ( − 3 2 n + 1 C B ( p − 1 − 2 n ) + 6 2 n + 1 H 2 n B p − 1 − 2 n ) mod p 4 (9)</p><p>We have done only part of the work so far. It remains to study the other differential terms arising in Gessel’s identity. By Gessel’s identity applied twice and after some simplifications and use of the Kummer congruence, we have:</p><p>p 3 Δ = p 3 { m Δ − 2 n + 3 2 B p − 3 − 2 n + 3 H p − 1 − 2 n ( b C B ( 2 ( p − 1 ) − 2 n ) − b C B ( p − 1 − 2 n ) )       + 3 ( 1 p − 2 n + 1 p + 1 − 2 n + ⋯ + 1 p + p − 2 − 2 n ) b C B ( 2 ( p − 1 ) − 2 n )       + 6 A 2 , 2 ( p − 1 ) − 2 n ⋆ B 2 ( p − 1 ) − 2 n − 6 A 2 , p − 1 − 2 n ⋆ B p − 1 − 2 n } mod p 4 (10)</p><p>We need further computations and start with the expression on the third row which we will conveniently denote by R 3 . We decompose:</p><p>A 2 , 2 ( p − 1 ) − 2 n ⋆ = A 2 , p − 1 − 2 n ⋆ + ∑ i = 1 p − 1 − 2 n     ∑ j = p − 2 n 2 ( p − 1 ) − 2 n 1 i j + ∑ p − 2 n ≤ i &lt; j ≤ 2 ( p − 1 ) − 2 n 1 i j</p><p>A 2,2 ( p − 1 ) − 2 n ⋆ is the sum of three terms, we will denote the second term by s 2 and the third one by s 3 . In s 2 , the range of j can be split into p − 2 n ≤ j ≤ p − 1 , j = p and p + 1 ≤ j ≤ p + ( p − 2 − 2 n ) . When working modulo p ℤ p , we thus have:</p><p>s 2 = − ∑ i = 1 p − 1 − 2 n     ∑ j = 1 2 n 1 i j + 1 p H p − 1 − 2 n + ∑ i = 1 p − 1 − 2 n     ∑ j = 1 p − 2 − 2 n 1 i j mod p</p><p>Moreover, we have (note, these types of congruences get worked out later on):</p><p>H p − 1 − 2 n = p H 2 n , 2 + H 2 n mod p 2</p><p>Then, we get:</p><p>s 2 = H 2 n , 2 + H 2 n ( 1 p + 1 2 n + 1 ) mod p</p><p>We now deal with s 3 . Regarding s 3 , we split the ranges of i and j into three groups, namely</p><p>p − 2 n p − ( 2 n − 1 )     ⋮ p − 1 p p + 1 p + 2     ⋮ p + ( p − 2 − 2 n )</p><p>We thus obtain:</p><p>s 3 = 1 p ( − p H 2 n , 2 − H 2 n − p H p − 2 − 2 n , 2 + H p − 2 − 2 n ) − H 2 n H 2 n + 1 + A 2 , 2 n ⋆ + A 2 , p − 2 − 2 n ⋆ mod p</p><p>with</p><p>H p − 2 − 2 n = p H 2 n + 1 , 2 + H 2 n + 1 mod p 2</p><p>H p − 2 − 2 n , 2 = − H 2 n + 1 , 2 mod p ,</p><p>s 3 then simplifies to</p><p>s 3 = 1 p ( 1 2 n + 1 + p ( 2 n + 1 ) 2 + p H 2 n + 1 , 2 ) − H 2 n H 2 n + 1 + A 2 , 2 n ⋆ + A 2 , p − 2 − 2 n ⋆ mod p</p><p>Moreover, we have:</p><p>A 2 , p − 2 − 2 n ⋆ = A 2 , p − 1 − 2 n ⋆ + H 2 n + 1 2 n + 1 mod p</p><p>We now need the following intermediate result which gets listed as a lemma.</p><p>Lemma 2.</p><p>A 2 , p − 1 − 2 n ⋆ = − A 2 , 2 n ⋆ + H 2 n 2 mod p</p><p>Proof of Lemma 2. We have:</p><p>A 2 , p − 1 − 2 n ⋆ = A 2 ⋆ − ∑ p − 2 n ≤ i &lt; j ≤ p − 1 1 i j − ∑ i = 1 p − 1 − 2 n     ∑ j = p − 2 n p − 1 1 i j = − A 2 , 2 n ⋆ + ∑ i = 1 p − 1 − 2 n     ∑ j = 1 2 n 1 i j mod p = − A 2 , 2 n ⋆ + H 2 n H p − 1 − 2 n mod p = − A 2 , 2 n ⋆ + H 2 n 2 mod p</p><p>□</p><p>Then,</p><p>A 2 , p − 2 − 2 n ⋆ = − A 2 , 2 n ⋆ + H 2 n H 2 n + 1 + 1 ( 2 n + 1 ) 2 mod p</p><p>Thus,</p><p>s 3 = 1 2 n + 1 ( 1 p + 2 2 n + 1 ) + H 2 n + 1 , 2 mod p</p><p>In the end, we have:</p><p>Proposition 1.</p><p>A 2 , 2 ( p − 1 ) − 2 n ⋆ = A 2 , p − 1 − 2 n ⋆ + 2 H 2 n + 1 , 2 + H 2 n + 1 ( 1 p + 1 2 n + 1 ) mod p</p><p>It follows that</p><p>p 3 R 3 = 6 ( H 2 n + 1 2 n + 1 + 2 H 2 n + 1 , 2 ) p 3 B p − 1 − 2 n + 6 H 2 n + 1 p 2 B 2 ( p − 1 ) − 2 n mod p 4 (11)</p><p>We further deal with R 2 . Let u denote the p-adic integer:</p><p>u : = 1 p − 2 n + ⋯ + 1 p − 1 + 1 p + 1 + ⋯ + 1 p + p − 2 − 2 n</p><p>We have:</p><p>R 2 = 3 p b C B ( 2 ( p − 1 ) − 2 n ) + 3 u b C B ( 2 ( p − 1 ) − 2 n )</p><p>We decompose:</p><p>b   C B ( 2 ( p − 1 ) − 2 n ) = 2 ( 2 ( p − 1 ) − 2 n p − 1 ) B p − 1 B 2 ( p − 1 ) − 2 n       + 2 ∑ i = 2 p − 3 − 2 n ( 2 ( p − 1 ) − 2 n i ) B i B 2 ( p − 1 ) − 2 n − i       + ∑ i = p + 1 − 2 n p − 3 ( 2 ( p − 1 ) − 2 n i ) B i B 2 ( p − 1 ) − 2 n − i</p><p>Then,</p><p>p 3 R 2 = 3 p 2 b C B ( 2 ( p − 1 ) − 2 n ) + 6 ( 2 ( p − 1 ) − 2 n p − 1 ) p B p − 1 B p − 1 − 2 n p 2 u       + 6 2 n + 1 p 3 u ∑ i = 2 p − 3 − 2 n ( p − 1 − 2 n i ) B i B p − 1 − 2 n − i ( 2 n + 1 + i )       + 3 p 3 u ∑ i = p + 1 − 2 n p − 3 ( 2 ( p − 1 ) − 2 n i ) B i B 2 ( p − 1 ) − 2 n − i mod p 4</p><p>when p + 1 − 2 n ≤ i ≤ p − 3 , the binomial coefficient in the last sum is divisible by p, hence the latter sum simply vanishes. Further, after scrutiny, b C B ( 2 ( p − 1 ) − 2 n ) is wanted modulo p<sup>2</sup> while u is simply desired modulo p. We have:</p><p>u = H p − 2 − 2 n − H 2 n mod p = H 1 − ∑ k = p − 1 − 2 n p − 1 1 k − H 2 n mod p = 1 2 n + 1 mod p</p><p>We now rewrite:</p><p>p 3 R 2 = 3 p 2 b C B ( 2 ( p − 1 ) − 2 n ) − 6 ( 2 n + 1 ) 2 p 3 B p − 1 − 2 n       + 3 2 n + 1 p 3 b C B ( p − 1 − 2 n ) mod p 4</p><p>We move on to studying the binomial convolution b   C B ( 2 ( p − 1 ) − 2 n ) mod p 2 ℤ p . We have:</p><p>3 p 2 b C B ( 2 ( p − 1 ) − 2 n ) = 3 p 2 C B ( 2 ( p − 1 ) − 2 n ) − 6 p 2 H 2 ( p − 1 ) − 2 n B 2 ( p − 1 ) − 2 n = 3 p 2 C B ( 2 ( p − 1 ) − 2 n ) − 6 p 2 H p − 1 − 2 n B 2 ( p − 1 ) − 2 n       − 6 p B 2 ( p − 1 ) − 2 n − 6 p 2 u B 2 ( p − 1 ) − 2 n</p><p>The first equality above holds by Miki’s identity. This time, we need to know u modulo p<sup>2</sup> instead of simply modulo p. This is routine calculation which we expand right below. We have:</p><p>1 p − 2 n + 1 p + 1 − 2 n + ⋯ + 1 p − 1 = − 1 ( 2 n ) 2 ( p + 2 n ) − 1 ( 2 n − 1 ) 2 ( p + 2 n − 1 ) − ⋯ − 1 1 2 ( p + 1 ) mod p 2 = − p H 2 n , 2 − H 2 n mod p 2</p><p>1 p + 1 + 1 p + 2 + ⋯ + 1 p + p − 2 n − 2 = − 1 1 2 ( p − 1 ) − 1 2 2 ( p − 2 ) − ⋯ − 1 ( p − 2 n − 2 ) 2 ( p − ( p − 2 n − 2 ) ) mod p 2 = − p H p − 2 n − 2 , 2 + H p − 2 n − 2 mod p 2</p><p>= − p H 2 + p ( 1 ( p − 1 − 2 n ) 2 + ⋯ + 1 ( p − 1 ) 2 )       + H 1 − ( 1 p − 1 − 2 n + 1 p − 2 n + ⋯ + 1 p − 1 ) mod p 2 = 2 p H 2 n + 1 , 2 + H 2 n + 1 mod p 2</p><p>Adding both contributions yields:</p><p>u = 1 2 n + 1 + p ( 1 ( 2 n + 1 ) 2 + H 2 n + 1,2 ) mod p 2 ℤ p</p><p>We also have:</p><p>H p − 1 − 2 n = p H 2 n , 2 + H 2 n mod p 2 ℤ p</p><p>Therefore,</p><p>3 p 2 b C B ( 2 ( p − 1 ) − 2 n ) = 3 p 2 C B ( 2 ( p − 1 ) − 2 n ) − 12 p 3 H 2 n + 1 , 2 B p − 1 − 2 n − 6 p ( 1 + p H 2 n + 1 ) B 2 ( p − 1 ) − 2 n = 6 p 2 ∑ i = 2 p − 3 − 2 n     B i B 2 ( p − 1 ) − 2 n − i + 6 p B p − 1 p B p − 1 − 2 n + 3 p 2 T C B ( p + 1 − 2 n , p − 3 )         − 12 p 3 H 2 n + 1 , 2 B p − 1 − 2 n − 6 p ( 1 + p H 2 n + 1 ) B 2 ( p − 1 ) − 2 n mod p 4</p><p>In order to apply Ernvall and Mets&#228;nkyla’s congruence in the first sum above, we must impose i ≤ p − 5 − 2 n . Hence we split this sum. After grouping the different terms, we obtain:</p><p>p 3 R 2 = 3 2 n + 1 p 3 C B ( p − 1 − 2 n ) + 3 p 2 C B ( p − 1 − 2 n )       + 3 p 2 ( C B ( p − 1 − 2 n ) + T C B ( p + 1 − 2 n , p − 3 ) ) − 3 p 3 ∑ i = 2 p − 5 − 2 n     ∑ a = 1 p − 1 q a 2 a 2 n B i a i       + 6 p [ p B p − 1 − p 2 ( 2 H 2 n + 1 , 2 + H 2 n + 1 2 n + 1 ) ] B p − 1 − 2 n + 6 p 3 ( B p + 1 − B 2 ) 1 B p − 3 − 2 n       − 6 p ( 1 + p H 2 n + 1 ) B 2 ( p − 1 ) − 2 n mod p 4</p><p>Moreover, by Theorem 1 point (i) of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] ,</p><p>T C B ( p + 1 − 2 n , p − 3 ) + C B ( p − 1 − 2 n ) = − ∑ a = 1 p − 1 q a 2 a 2 n + 2 ( ( p B p − 1 ) 1 − 1 ) B p − 1 − 2 n mod p</p><p>Then,</p><p>p 3 R 2 = 3 2 n + 1 p 3 C B ( p − 1 − 2 n ) + 3 p 2 C B ( p − 1 − 2 n )       + 3 p 3 ( C B ( p − 1 − 2 n ) + T C B ( p + 1 − 2 n , p − 3 ) ) 1       + 3 p 2 ( 2 ( ( p B p − 1 ) 1 − 1 ) B p − 1 − 2 n − ∑ a = 1 p − 1 q a 2 a 2 n ) 0 − 3 p 3 ∑ i = 2 p − 5 − 2 n ∑ a = 1 p − 1 q a 2 a 2 n B i a i       + 6 p [ p B p − 1 − p 2 ( 2 H 2 n + 1 , 2 + H 2 n + 1 2 n + 1 ) ] B p − 1 − 2 n</p><p>      + 6 p 3 ( B p + 1 − B 2 ) 1 B p − 3 − 2 n − 6 p ( 1 + p H 2 n + 1 ) B 2 ( p − 1 ) − 2 n mod p 4 (12)</p><p>It remains to tackle the third term of the first row of (10). We have:</p><p>p 3 R 1 = 6 H p − 1 − 2 n p B p − 1 p 2 B p − 1 − 2 n ( 2 ( p − 1 ) − 2 n p − 1 )       + 3 H p − 1 − 2 n p 3 ∑ i = 2 p − 3 − 2 n ( 2 ( 2 ( p − 1 ) − 2 n i ) − ( p − 1 − 2 n i ) ) B i B p − 1 − 2 n − i mod p 4</p><p>As seen several times before, for the range of i that is considered,</p><p>( 2 ( p − 1 ) − 2 n i ) = ( p − 1 − 2 n i ) 2 n + 1 + i 2 n + 1 mod p</p><p>Then,</p><p>2 ( 2 ( p − 1 ) − 2 n i ) = ( p − 1 − 2 n i ) ( 2 + 2 i 2 n + 1 ) mod p</p><p>It immediately follows that the difference above vanishes. Further, by Lemma 1, we know that:</p><p>( 2 ( p − 1 ) − 2 n p − 1 ) B p − 1 = − 1 2 n + 1 mod p</p><p>Then, we have:</p><p>p 3 R 1 = − 6 p 3 H 2 n 2 n + 1 B p − 1 − 2 n mod p 4 (13)</p><p>By using Result 12 of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] due to Sun [<xref ref-type="bibr" rid="scirp.127691-ref5">5</xref>] with k = 2 and b = p − 1 − 2 n , as well as Result 10 point (i) of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] , the congruence modulo p 3 ℤ p arising from (2) and (3) simply reads:</p><p>p 3 Δ = 3 p 2 C B ( p − 1 − 2 n ) mod p 3 ℤ p</p><p>It is then routine verification that the congruence modulo p 3 ℤ p is just trivial. We thus focus our attention on the modulus p 4 ℤ p . But before moving any further, this is an adequate time to prove the first few theorems of the introduction, as well as their related corollaries, culminating in the proof of Theorem 6.</p></sec><sec id="s2_2"><title>2.2. Proofs of Theorems 1 - 5</title><p>Because the sum of importance in the previous Section 2.1 is the one contained in the left hand side of the congruence of Theorem 2, we start with the proof of Theorem 2.</p><p>The proof is inspired from [<xref ref-type="bibr" rid="scirp.127691-ref17">17</xref>] and uses the Stirling numbers. The unsigned</p><p>Stirling number of the first kind [ p s ] is the unsigned coefficient of x s in the falling factorial</p><p>x ( x − 1 ) ( x − 2 ) ⋯ ( x − ( p − 1 ) ) = ∑ s = 1 p ( − 1 ) s − 1 [ p s ] x s</p><p>By specializing x = − a in the equality above, we obtain:</p><p>− a ( − a − 1 ) ( − a − 2 ) ⋯ ( − a − ( p − 1 ) ) = ∑ s = 1 p ( − 1 ) s − 1 [ p s ] ( − a ) s</p><p>Then,</p><p>( p − 1 + a ) ! ( a − 1 ) ! = ∑ s = 1 p [ p s ] a s</p><p>Moreover,</p><p>( p − 1 + a ) ! = ( p − 1 ) ! p ⋯ ( p − 1 + a ) = − p ( a − 1 ) ! mod p 2</p><p>It follows that:</p><p>− p = ∑ s = 1 p [ p s ] a s mod p 2</p><p>By using Corollary 2 of [<xref ref-type="bibr" rid="scirp.127691-ref15">15</xref>] originally due to Glaisher [<xref ref-type="bibr" rid="scirp.127691-ref2">2</xref>] , we get:</p><p>− p = ( p B p − 1 − p ) a + ∑ s = 3 p − 2 p s B p − s a s − p 2 a p − 1 + a p mod p 2</p><p>It follows that:</p><p>Proposition 2.</p><p>∑ i = 1 p − 3 B i a i = w p + q a mod p</p><p>From there, Theorem 2 follows. A rewriting of the theorem is the following.</p><p>− 1 2 ∑ a = 1 p − 1 q a 2 a 2 n + 1 + ∑ a = 1 p − 1     ∑ i = 2 p − 3 B i a i q a 2 a 2 n = w p ∑ a = 1 p − 1 q a 2 a 2 n + ∑ a = 1 p − 1 q a 3 a 2 n mod p</p><p>We now adapt Ernvall and Mets&#228;nkyla’s proof for the results of Section 1.3 when t is odd. First and foremost, we recall from [<xref ref-type="bibr" rid="scirp.127691-ref5">5</xref>] that</p><p>S t = ∑ a = 1 p − 1     a t = p B t + p 2 2 t B t − 1 + p 3 6 t ( t − 1 ) B t − 2 mod p 3 (14)</p><p>Suppose t is odd and t ≥ 3 . Then B t = 0 . If we impose t ≠ 3 , then</p><p>S t = p 2 2 t B t − 1 mod p 3</p><p>Again, we have, using the same notations as in Section 1:</p><p>( a + p v a ) t = a t + t p v a a t − 1 + p 2 v a 2 a t − 2 t ( t − 1 ) 2 mod p 3</p><p>Like before, when t is odd and 3 ≤ t ≤ p − 2 , we have</p><p>∑ a = 1 p − 1 ( a + p v a ) t = 0</p><p>When excluding t = 3 , reducing modulo p<sup>3</sup> yields:</p><p>p 2 2 t B t − 1 = − t p ∑ a = 1 p − 1     v a a t − 1 − p 2 t ( t − 1 ) 2 ∑ a = 1 p − 1     v a 2 a t − 2 mod p 3 (15)</p><p>We thus have:</p><p>p 2 B t − 1 = − ∑ a = 1 p − 1     v a a t − 1 − p t − 1 2 ∑ a = 1 p − 1     v a 2 a t − 2 mod p 2</p><p>And since we also have</p><p>∑ a = 1 p − 1 ( a + p v a ) p − 1 + t = 0 ,</p><p>similar developments and reductions lead to:</p><p>p 2 B p − 1 + t − 1 = − ∑ a = 1 p − 1     v a a p − 1 + t − 1 − p t − 2 2 ∑ a = 1 p − 1     v a 2 a t − 2 mod p 2</p><p>Then, using also v a = a q a mod p , we obtain Theorem 1.</p><p>It follows from Theorem 2 and Corollary 2 with t + 1 = p − 2 − 2 n that</p><p>∑ a = 1 p − 1     ∑ i = 2 p − 3 B i a i q a 2 a 2 n = w p ∑ a = 1 p − 1 q a 2 a 2 n + ∑ a = 1 p − 1 q a 3 a 2 n + 1 2 B p − 3 − 2 n mod p (16)</p><p>This result can also be derived from a weaker version of Lemma 1 of [<xref ref-type="bibr" rid="scirp.127691-ref6">6</xref>] . Namely, as part of Miki’s congruence stated in his Lemma 1 of [<xref ref-type="bibr" rid="scirp.127691-ref6">6</xref>] , we have:</p><p>a q a = − 1 + ( 1 − ( p B p − 1 ) 1 ) a − ∑ k = 1 p − 3 1 p ( p k ) B k a p − k mod p</p><p>It comes:</p><p>∑ a = 1 p − 1     a q a q a 2 a 2 n + 1 = − ∑ a = 1 p − 1 q a 2 a 2 n + 1 + ( 1 − ( p B p − 1 ) 1 ) ∑ a = 1 p − 1 q a 2 a 2 n       − ∑ k = 1 p − 3 1 p ( p k ) B k ∑ a = 1 p − 1     q a 2 a p − 1 − 2 n − k mod p</p><p>From there, by using again Corollary 2 with t + 1 = p − 2 − 2 n , we retrieve (16).</p><p>After several adequate applications of the Ernvall-Mets&#228;nkyla congruence in (16), we further get:</p><p>∑ a = 1 p − 1 q a 3 a 2 n = − 2 ∑ i = 2 p − 5 − 2 n     B i ( B 2 ( p − 1 ) − 2 n − i − B p − 1 − 2 n − i ) 1 + ( ∑ a = 1 p − 1     q a 2 a 2 − 1 2 ) B p − 3 − 2 n       + ( ∑ a = 1 p − 1     q a 2 ) B p − 1 − 2 n + 2 w p ( B 2 ( p − 1 ) − 2 n − B p − 1 − 2 n ) 1       − 2 ∑ i = p + 1 − 2 n p − 3     B i ( B 3 ( p − 1 ) − 2 n − i − B 2 ( p − 1 ) − 2 n − i ) 1 mod p (17)</p><p>In order to conclude to Theorem 5, we first need to prove Theorems 3 and 4 of Section 1.3. These theorems are built out of two perspectives. The first perspective relies on Miki’s result providing the residue of a q a for a integer with 1 ≤ a ≤ p − 1 . The second perspective relies on Sun’s congruence for the sums of powers of integers issued from [<xref ref-type="bibr" rid="scirp.127691-ref5">5</xref>] . We first discuss the first perspective. It treats the first two congruences in each theorem.</p><p>By a reformulation of Proposition 0.2 of Section 1.3 due to Miki, we have:</p><p>a q a = − 1 2 + ( 1 − ( p B p − 1 ) 1 ) a + ∑ k = 2 p − 3     B k a p − k mod p</p><p>Then,</p><p>∑ a = 1 p − 1     q a 2 = ∑ a = 1 p − 1     a q a q a a = − 1 2 ∑ a = 1 p − 1     q a a p − 2 + ( 1 − ( p B p − 1 ) 1 ) w p + ∑ k = 2 p − 3     ∑ a = 1 p − 1 B k a k q a mod p</p><p>Moreover, Lehmer’s congruence for odd powers implies that</p><p>∑ a = 1 p − 1     q a a p − 2 = − p B p − 3 mod p 2</p><p>Then, the residue of the first sum is simply zero.</p><p>Further, by the original Friedmann-Tamarkine congruence, we have:</p><p>∑ a = 1 p − 1     q a a p − 1 − k = − B p − 1 − k mod p</p><p>Then, up to sign, the last sum is the convolution C B ( p − 1 ) . Hence the first congruence of Theorem 3. The second congruence follows from [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] which provides the residue of C B ( p − 1 ) (see Result 2.11 of [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] ).</p><p>As for Theorem 4, we have:</p><p>∑ a = 1 p − 1     q a 2 a 2 = ∑ a = 1 p − 1 ( a q a ) ( a q a ) = − 1 2 ∑ a = 1 p − 1     q a a + ( 1 − ( p B p − 1 ) 1 ) ∑ a = 1 p − 1     q a a 2 + ∑ k = 2 p − 3     ∑ a = 1 p − 1 B k a k q a a 2 mod p</p><p>when 4 ≤ k ≤ p − 3 , the Friedmann-Tamarkine congruence applies and yields:</p><p>∑ a = 1 p − 1     q a a p + 1 − k = − B p + 1 − k mod p</p><p>Moreover, the Friedmann-Tamarkine congruence also applies to the first two terms. We thus get the first congruence of Theorem 4. The second congruence will follow immediately from forthcoming Lemma 3 of Section 2.3.</p><p>The proof for the last congruence in each theorem relies on Congruence (14) by Z-H. Sun in [<xref ref-type="bibr" rid="scirp.127691-ref5">5</xref>] and is left to the reader.</p><p>From there, Theorem 5 follows.</p></sec><sec id="s2_3"><title>2.3. Proof of Theorem 6</title><p>This part closes the proof for Theorem 6. The rest of the computations will be based on the following series of lemmas.</p><p>Lemma 3.</p><p>T C B ( 4 , p − 3 ) = 2 ( B p + 1 − B 2 ) 1 + 1 12 + 1 6 ( p B p − 1 ) 1 mod p</p><p>Proof. Immediately follows from Theorem 1 point (ii) of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] .</p><p>Lemma 4.</p><p>T C B ( 6 , p − 3 ) = 7 720 + 2 ( B p + 3 − B 4 ) 1 − 1 60 ( p B p − 1 ) 1 mod p</p><p>Proof. Again, this is an immediate consequence of Theorem 1 point (iii) of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] .</p><p>Lemma 5</p><p>∑ a = 1 p − 1     ∑ i = 2 p − 5 − 2 n B i a i q a 2 a 2 n = − 2 ∑ i = 2 p − 5 − 2 n     B i ( B 2 ( p − 1 ) − 2 n − i − B p − 1 − 2 n − i ) 1 mod p</p><p>∑ a = 1 p − 1     ∑ i = p + 1 − 2 n p − 3 B i a i q a 2 a 2 n = − 2 ∑ i = p + 1 − 2 n p − 3     B i ( B 3 ( p − 1 ) − 2 n − i − B 2 ( p − 1 ) − 2 n − i ) 1 mod p</p><p>Proof. For the first range of i, we have 4 ≤ p − 1 − 2 n − i ≤ p − 3 . For the second range of i, we have 4 ≤ 2 ( p − 1 ) − 2 n − i ≤ p − 3 . In both cases the Ernvall-Mets&#228;nkyla congruence applies and yields the result.</p><p>Lemma 6</p><p>∑ a = 1 p − 1     ∑ i = 2 p − 5 − 2 n B i a i q a 2 a 2 n = − 2 ∑ i = 2 p − 5 − 2 n     B i ( B 2 ( p − 1 ) − 2 n − i − B p − 1 − 2 n − i ) 1 mod p</p><p>Proof. This range for i satisfies to the conditions of application of the Ernvall Mets&#228;nkyla’s congruence.</p><p>More computational efforts using Lemma 3 - 6 lead to Theorem 6 which is thus entirely proven. Corollary 6 points (i) and (ii) are then respectively obtained by specializing 2 n = 4 and 2 n = p − 7 in the congruence of Theorem 6. In the first case, the truncated convolution to the left hand side reduces to only one term. Moreover, from Corollary 4 applied with 2 n = 4 , the convolution C B D ( p − 5 ) gets fully determined. We then obtain the residue for C B D ( p − 5 ) in terms of ( C B ( p − 5 ) + B p − 3 2 ) 1 .</p><p>Remark 6. Theorem 0.3 of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] establishes a congruence for ( C B ( p − 5 ) + B p − 3 2 ) 0 . Finding the next residue in the p-adic expansion remains an open question. Likewise, Theorem 1 point (i) of [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] applied with 2 n = p − 7 provides the residue for ( T C B ( 8, p − 3 ) + C B ( 6 ) ) 0 while the next residue in the p-adic expansion remains unknown.</p><p>The next part deals again with the techniques exposed in the introduction.</p></sec><sec id="s2_4"><title>2.4. Proof of Theorem 7</title><p>In the case when t is even, point (i) of Theorem 7 follows from a joint application of Proposition 0.1 and Theorem 0.1 of Section 1.3, both due to Ernvall and Mets&#228;nkyla.</p><p>In the case when t is odd, the sum of powers S t verifies</p><p>S t = p 2 2 t B t − 1 mod p 3 (18)</p><p>And we have seen in Section 2.2 (cf. Congruence (15)) that</p><p>p ∑ a = 1 p − 1     a t − 1 v a = − p 2 2 B t − 1 − p 2 2 ( t − 1 ) ∑ a = 1 p − 1     a t q a 2 mod p 3</p><p>By summing both contributions and using our Corollary 2, we obtain the result of (i) which is thus entirely proven.</p><p>Regarding point (ii), we will study the polynomial</p><p>X p − 1 + ( p − 1 ) ! ∈ ℤ p [ X ]</p><p>in the same way as Ernvall and Mets&#228;nkyla had used the polynomial</p><p>X p − 1 − 1 ∈ ℤ p [ X ]</p><p>in order to prove their congruences. The first polynomial had played a key role in [<xref ref-type="bibr" rid="scirp.127691-ref15">15</xref>] in order to recover Glaisher’s result that ( p − 1 ) ! = p B p − 1 − p mod p 2 and in order to find a formula for ( p − 1 ) ! modulo p<sup>3</sup> by a different method than the one of Sun [<xref ref-type="bibr" rid="scirp.127691-ref5">5</xref>] , see Corollary 6 in Section 1 of [<xref ref-type="bibr" rid="scirp.127691-ref15">15</xref>] . The analogs of the Teichm&#252;ller characters are the ( p − 1 ) p-adic integer roots of X p − 1 + ( p − 1 ) ! which we denote by Ω a , 1 ≤ a ≤ p − 1 . Moreover, we define the w a ’s such that:</p><p>Ω a = a + p w a</p><p>It is shown in [<xref ref-type="bibr" rid="scirp.127691-ref15">15</xref>] that</p><p>p w a = a ( 1 + ( p − 1 ) ! + p q a ) mod p 2</p><p>This is the purpose of Lemma 1 in Section 2 of [<xref ref-type="bibr" rid="scirp.127691-ref15">15</xref>] . Thus, we have:</p><p>w a = a ( w p + q a ) mod p</p><p>By the same argument as in Section 1, we have:</p><p>∑ a = 1 p − 1 ( a + p w a ) t = 0</p><p>We assume t ≠ 2 . Expanding modulo p<sup>3</sup> leads to an analog of the Ernvall and Mets&#228;nkyla’s congruence, namely</p><p>B t = − ∑ a = 1 p − 1     w a a t − 1 − p t − 1 2 ∑ a = 1 p − 1     w a 2 a t − 2 mod p 2 ,</p><p>where v a was replaced with w a . By substituting:</p><p>w a 2 = a 2 w p 2 + q a 2 a 2 + 2 a 2 q a w p mod p ,</p><p>we then obtain for even t:</p><p>B t + ∑ a = 1 p − 1     w a a t − 1 = − p t − 1 2 ∑ a = 1 p − 1     q a 2 a t − p ( t − 1 ) w p ∑ a = 1 p − 1     q a a t mod p 2</p><p>By the Lehmer congruence applied with even powers modulo p and by the Ernvall-Mets&#228;nkyla’s congruence, we further obtain:</p><p>∑ a = 1 p − 1     w a a t − 1 = ( t − 1 ) B p − 1 + t − t B t + p ( t − 1 ) w p B t mod p 2 (19)</p><p>The case t is even of Theorem 7 point (ii) follows. When t is odd, the congruence reads instead:</p><p>∑ a = 1 p − 1     w a a t − 1 = − p 2 B t − 1 − p t − 1 2 ∑ a = 1 p − 1     q a 2 a t − p ( t − 1 ) w p ∑ a = 1 p − 1     q a a t mod p 2</p><p>The first sum to the right hand side of the congruence is known modulo p by our Corollary 2. As for the second sum it is known modulo p<sup>2</sup> by Lehmer’s result applied with odd powers. The latter sum thus vanishes from the congruence since t ≠ 1 mod ( p − 1 ) . We get:</p><p>∑ a = 1 p − 1     w a a t − 1 = − p B t − 1 mod p 2 (20)</p><p>We deduce point (ii) of Theorem 7 in the case when t is odd.</p><p>We now present a different proof for Congruences (19) and (20), one which does not refer to Ernvall and Mets&#228;nkyla’s original proof of [<xref ref-type="bibr" rid="scirp.127691-ref7">7</xref>] . We use an expansion of w a one p-power further. This is achieved in [<xref ref-type="bibr" rid="scirp.127691-ref15">15</xref>] . Our ( w a ) 1 is the t a ( 1 ) of [<xref ref-type="bibr" rid="scirp.127691-ref15">15</xref>] . Also, δ i ( a ) of [<xref ref-type="bibr" rid="scirp.127691-ref15">15</xref>] is ( q a ) i . Using the current notations, Lemma 3 of [<xref ref-type="bibr" rid="scirp.127691-ref15">15</xref>] asserts that:</p><p>( w a ) 1 = a ( ( q a ) 0 + ( q a ) 1 + ( ∑ i = 1 p − 1 ( q i ) 0 ) 2 + ( 1 + ( q a ) 0 ) ∑ i = 1 p − 1 ( q i ) 0 ) mod p</p><p>Recall also from Theorem 1 of [<xref ref-type="bibr" rid="scirp.127691-ref15">15</xref>] that</p><p>∑ a = 1 p − 1     q a = w p mod p</p><p>Then, using again</p><p>B t = − ∑ a = 1 p − 1     a t q a mod p ,</p><p>we have:</p><p>∑ a = 1 p − 1     w a a t − 1 = p w p ( t − 1 ) B t − p B t + ∑ a = 1 p − 1     a t q a mod p 2</p><p>But by the Lehmer congruence applied with t even,</p><p>∑ a = 1 p − 1     a t q a = p B t + ( t − 1 ) B p − 1 + t − t B t mod p 2</p><p>Combining both congruences yields (19).</p><p>When t is odd, we rather apply the Lehmer congruence with odd powers and it leads to (20).</p><p>It remains to deal with (iii). We define in turn the p-adic integers z a ‘s such that for each integer a with 1 ≤ a ≤ p − 1 ,</p><p>γ a = a + p z a</p><p>By Hensel’s lifting algorithm, the residue z a gets determined by</p><p>( a + p z a ) p − 1 + p B p − 1 ∈ p 2 ℤ p</p><p>We thus have:</p><p>z a = a ( q a + ( p B p − 1 ) 1 ) mod p</p><p>Then the sketch of the proof with respect to the Ernvall-Mets&#228;nkyla type of proof is identical as in (ii) with w p being replaced with ( p B p − 1 ) 1 . It yields the result of (iii) straight away. Again, another proof consists of pushing the expansion for z a one p-power further as in Proposition 3 below whose proof relies on Hensel’s lifting algorithm.</p><p>Proposition 3.</p><p>z a = a ( q a + ( p B p − 1 ) 1 ) + a p ( 1 + ( p B p − 1 ) 1 ) ( q a + ( p B p − 1 ) 1 ) mod p 2</p><p>Our next and last part is concerned with proving Theorem 0.</p></sec><sec id="s2_5"><title>2.5. Convolutions of Divided Bernoulli Numbers and Products of Those with Harmonic Numbers</title><p>The work of [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] had allowed to find an expression for A p − 1 = ( p − 1 ) ! modulo p<sup>4</sup>. The formula expressed in terms of Bernoulli numbers was satisfactory in that it involved only a constant number of terms, independently from the prime p. This expression had also allowed to write the residue of a cubic convolution of order ( p − 1 ) like follows.</p><p>B B B ( p − 1 ) = { − 6 A p − 1 + 3 p 3 ( C B ( p − 1 ) ) 1 + 3 p 2 ( C B ( p − 1 ) ) 0             − 6 p B p − 1 − 15 4 p 3 B p − 3 } 3 mod p</p><p>Contrary to the generic case for B B B ( p − 1 − 2 n ) studied in Section 2.1 and Section 2.3, Gessel’s identity does not provide any information on B B B ( p − 1 ) . However interestingly, combined with Miki’s identity it fully determines a convolution of divided Bernoulli numbers with a product of divided Bernoulli numbers and harmonic numbers. Indeed, setting n = p − 1 in the Gessel identity (Theorem 0.4 of Section 1.3) yields (after using Wolstenholme’s theorem imposing H p − 1 = 0 mod p 2 ):</p><p>B B B ( p − 1 ) = ∑ i = 2 p − 5     B i b C B ( p − 1 − j ) + 6 B p − 1 A 2 , p − 1 ⋆ − 9 4 B p − 3 mod p (21)</p><p>When applying Miki’s identity, the terms B B B ( p − 1 ) cancel each other, leaving only one convolution. Moreover, a result by Jianqiang Zhao from [<xref ref-type="bibr" rid="scirp.127691-ref41">41</xref>] claims that</p><p>A 2 , p − 1 ⋆ = H p − 1 p mod p 3</p><p>In [<xref ref-type="bibr" rid="scirp.127691-ref3">3</xref>] , combining our work and Zhao’s result, we showed that</p><p>A 2 , p − 1 ⋆ = − p ( B 2 p − 4 − 2 B p − 3 ) mod p 3</p><p>Plugging back into (21) with p B p − 1 = 1 mod p yields Theorem 0 of Section 2.1. It is interesting to note that by an application of Wolstenholme’s theorem we have H p − 1 − i = H i mod p . Then, by considering twice the convolutions of Corollary 0, we get by a usual trick used many times in [<xref ref-type="bibr" rid="scirp.127691-ref4">4</xref>] the result of the corollary.</p></sec></sec><sec id="s3"><title>Acknowledgements</title><p>The author is indebted to the anonymous referee for his or her thoughtful comments which have allowed to better the manuscript.</p></sec><sec id="s4"><title>Conflicts of Interest</title><p>The author declares no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s5"><title>Cite this paper</title><p>Levaillant, C. (2023) Some Implications of the Gessel Identity. Applied Mathematics, 14, 545-579. https://doi.org/10.4236/am.2023.149034</p></sec></body><back><ref-list><title>References</title><ref id="scirp.127691-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Dunne, G.V. and Schubert, C. (2004) Bernoulli Number Identities from Quantum Field Theory. IHES Preprint P/04/31.</mixed-citation></ref><ref id="scirp.127691-ref2"><label>2</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Glaisher</surname><given-names> J.W.L. </given-names></name>,<etal>et al</etal>. (<year>1900</year>)<article-title>On the Residues of the Sums of Products of the First p-1 Numbers and Their Powers, to Modulus p&lt;sup&gt;2&lt;/sup&gt; or p&lt;sup&gt;3&lt;/sup&gt;</article-title><source> The Quarterly Journal of Mathematics</source><volume> 31</volume>,<fpage> 321</fpage>-<lpage>353</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.127691-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Levaillant, C. (2020) Congruences Related to Miki’s Identity.</mixed-citation></ref><ref id="scirp.127691-ref4"><label>4</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Levaillant</surname><given-names> C. </given-names></name>,<etal>et al</etal>. (<year>2022</year>)<article-title>Multiple Harmonic Sums Modulo p&lt;sup&gt;4&lt;/sup&gt; and Applications</article-title><source> Journal of Combinatorics and Number Theory</source><volume> 12</volume>,<fpage> 79</fpage>-<lpage>114</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.127691-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Sun, Z.-H. (2000) Congruences Concerning Bernoulli Numbers and Bernoulli Polynomials. Discrete Applied Mathematics, 105, 193-223. https://doi.org/10.1016/S0166-218X(00)00184-0</mixed-citation></ref><ref id="scirp.127691-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Miki, H. (1978) A Relation between Bernoulli Numbers. Journal of Number Theory, 10, 297-302. https://doi.org/10.1016/0022-314X(78)90026-4</mixed-citation></ref><ref id="scirp.127691-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Ernvall, R. and Mets&amp;#228;nkyl&amp;#228;, T. (1991) Cyclotomic Invariants for Primes between 125000 and 150000. Mathematics of Computation, 56, 851-858. https://doi.org/10.2307/2008413</mixed-citation></ref><ref id="scirp.127691-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Friedmann, A. and Tamarkine, J. (1909) Quelques formules concernant la théorie de la fonction [x] et des nombres de Bernoulli. Journal für die reine und angewandte Mathematik, 135, 146-156. https://doi.org/10.1515/crll.1909.135.146</mixed-citation></ref><ref id="scirp.127691-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Lehmer, E. (1938) On Congruences Involving Bernoulli Numbers and the Quotients of Fermat and Wilson. Annals of Mathematics, 39, 350-360. https://doi.org/10.2307/1968791</mixed-citation></ref><ref id="scirp.127691-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Faulhaber, J. (1631) Academia algebrae, darinnen die miraculosische Inventiones zu den h&amp;#246;chsten Cossen weiters continuirt und prolifiert warden.</mixed-citation></ref><ref id="scirp.127691-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Jacobi, C.G.J. (1834) De usu legitimo formulae summatoriae Maclaurinianae. Journal für die reine und angewandte Mathematik, 12, 263-272. https://doi.org/10.1515/crll.1834.12.263</mixed-citation></ref><ref id="scirp.127691-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Knuth, D.E. (1993) Johann Faulhaber and Sums of Powers. Mathematics of Computation, 61, 277-294. https://doi.org/10.1090/S0025-5718-1993-1197512-7</mixed-citation></ref><ref id="scirp.127691-ref13"><label>13</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Voronoi</surname><given-names> G.F. </given-names></name>,<etal>et al</etal>. (<year>1890</year>)<article-title>On Bernoulli Numbers</article-title><source> Communications of the Kharkiv Mathematical Society</source><volume> 2</volume>,<fpage> 129</fpage>-<lpage>148</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.127691-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Kummer, E.E. (1850) Allgemeiner Beweis des Fermatschen Satzes, da&amp;#223; die Gleichung X&lt;sup&gt;λ&lt;/sup&gt; + Y&lt;sup&gt;λ&lt;/sup&gt; = Z&lt;sup&gt;λ&lt;/sup&gt; durch ganze Zahlen unl&amp;#246;sbar ist, für alle diejenigen Potenz-Exponenten λ, welche ungerade Primzahlen sind und in den Z&amp;#228;hlern der ersten (λ-3)/2 Bernoullischen Zahlen als Faktoren nicht vorkommen. Journal für die reine und angewandte Mathematik, 40, 131-138. https://doi.org/10.1515/crll.1850.40.130</mixed-citation></ref><ref id="scirp.127691-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Levaillant, C. (2019) Wilson’s Theorem Modulo p&lt;sup&gt;2&lt;/sup&gt; Derived from Faulhaber Polynomials.</mixed-citation></ref><ref id="scirp.127691-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Gouvea, F. (1993) p-Adic Numbers, an Introduction. 2nd Edition, Springer, Berlin. https://doi.org/10.1007/978-3-662-22278-2_1</mixed-citation></ref><ref id="scirp.127691-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Levaillant, C. (2020) Powers of Two Weighted Sum of the First p Divided Bernoulli Numbers Modulo p.</mixed-citation></ref><ref id="scirp.127691-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Gessel, I.M. (2005) On Miki’s Identity for Bernoulli Numbers. Journal of Number Theory, 110, 75-82. https://doi.org/10.1016/j.jnt.2003.08.010</mixed-citation></ref><ref id="scirp.127691-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Johnson, W. (1975) p-Adic Proofs of Congruences for the Bernoulli Numbers. Journal of Number Theory, 7, 251-265. https://doi.org/10.1016/0022-314X(75)90020-7</mixed-citation></ref><ref id="scirp.127691-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Clausen, T. (1840) Theorem. Astronomische Nachrichten, 17, 351-352. https://doi.org/10.1002/asna.18400172204</mixed-citation></ref><ref id="scirp.127691-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Von Staudt, C. (1840) Beweis eines Lehrsatzes, die Bernoullischen Zahlen betreffend. Journal für die reine und angewandte Mathematik, 21, 372-374. https://doi.org/10.1515/crll.1840.21.372</mixed-citation></ref><ref id="scirp.127691-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Agoh, T. (1995) On Giuga’s Conjecture. Manuscripta Mathematica, 87, 501-510. https://doi.org/10.1007/BF02570490</mixed-citation></ref><ref id="scirp.127691-ref23"><label>23</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Giuga</surname><given-names> G. </given-names></name>,<etal>et al</etal>. (<year>1950</year>)<article-title>Su una presumibile proprieta caratterista dei numeri primi. Istituto Lombardo Accademia di Scienze e Lettere. Rendiconti. Classe di Scienze Matematiche e Naturali</article-title><source> Serie A</source><volume> 83</volume>,<fpage> 511</fpage>-<lpage>528</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.127691-ref24"><label>24</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Wolstenholme</surname><given-names> J. </given-names></name>,<etal>et al</etal>. (<year>1862</year>)<article-title>On Certain Properties of Prime Numbers</article-title><source> The Quarterly Journal of Pure and Applied Mathematics</source><volume> 5</volume>,<fpage> 35</fpage>-<lpage>39</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.127691-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Buhler, J., Crandall, R., Ernvall, R. and Mets&amp;#228;nkyla, T. (1993) Irregular Primes and Cyclotomic Invariants to Four Million. Mathematics of Computation, 61, 151-153. https://doi.org/10.1090/S0025-5718-1993-1197511-5</mixed-citation></ref><ref id="scirp.127691-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Selfridge, J.L. and Pollack, B.W. (1964) Fermat’s Last Theorem Is True for Any Exponent up to 25,000. Notices of the AMS, 11, 97.</mixed-citation></ref><ref id="scirp.127691-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Wagstaff, S.S. (1978) The Irregular Primes to 125000. Mathematics of Computation, 32, 583-591. https://doi.org/10.1090/S0025-5718-1978-0491465-4</mixed-citation></ref><ref id="scirp.127691-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Johnson, W. (1974) Irregular Prime Divisors of the Bernoulli Numbers. Mathematics of Computation, 28, 653-657. https://doi.org/10.1090/S0025-5718-1974-0347727-0</mixed-citation></ref><ref id="scirp.127691-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Ireland, K. and Rosen, M. (1982) A Classical Introduction to Modern Number Theory. Springer, New York, 239-248. https://doi.org/10.1007/978-1-4757-1779-2</mixed-citation></ref><ref id="scirp.127691-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Shiratani, K. and Yokoyama, S. (1982) An Application of p-Adic Convolutions. Memoirs of the Faculty of Science, Kyushu University. Series A, Mathematics, 36, 73-83. https://doi.org/10.2206/kyushumfs.36.73</mixed-citation></ref><ref id="scirp.127691-ref31"><label>31</label><mixed-citation publication-type="other" xlink:type="simple">Faber, C. and Pandharipande, R. (2000) Hodge Integrals and Gromov-Witten Theory. Inventiones Mathematicae, 139, 137-199. https://doi.org/10.1007/s002229900028</mixed-citation></ref><ref id="scirp.127691-ref32"><label>32</label><mixed-citation publication-type="other" xlink:type="simple">Artamkin, I.V. (2007) An Elementary Proof of the Miki-Zagier-Gessel Identity. Russian Mathematical Surveys, 62, 1194-1196. https://doi.org/10.1070/RM2007v062n06ABEH004482</mixed-citation></ref><ref id="scirp.127691-ref33"><label>33</label><mixed-citation publication-type="other" xlink:type="simple">Crabb, M.C. (2005) The Miki-Gessel Bernoulli Number Identity. Glasgow Mathematical Journal, 47, 327-328. https://doi.org/10.1017/S0017089505002545</mixed-citation></ref><ref id="scirp.127691-ref34"><label>34</label><mixed-citation publication-type="other" xlink:type="simple">Sitaramachandrarao, R. and Davis, B. (1986) Some Identities Involving the Riemann Zeta Function II. Indian Journal of Pure and Applied Mathematics, 17, 1175-1186.</mixed-citation></ref><ref id="scirp.127691-ref35"><label>35</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Sankaranaryanan</surname><given-names> A. </given-names></name>,<etal>et al</etal>. (<year>1987</year>)<article-title>An Identity Involving Riemann Zeta Function</article-title><source> Indian Journal of Pure and Applied Mathematics</source><volume> 18</volume>,<fpage> 794</fpage>-<lpage>800</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.127691-ref36"><label>36</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Zhang</surname><given-names> W.P. </given-names></name>,<etal>et al</etal>. (<year>1991</year>)<article-title>On the Several Identities of Riemann Zeta Function</article-title><source> Chinese Science Bulletin</source><volume> 22</volume>,<fpage> 1852</fpage>-<lpage>1856</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.127691-ref37"><label>37</label><mixed-citation publication-type="other" xlink:type="simple">Petojevi&amp;#263;, A. and Srivastava, H.M. (2009) Computation of Euler’s Type Sums of the Products of Bernoulli Numbers. Applied Mathematics Letters, 22, 796-801. https://doi.org/10.1016/j.aml.2008.06.040</mixed-citation></ref><ref id="scirp.127691-ref38"><label>38</label><mixed-citation publication-type="other" xlink:type="simple">Dilcher, K. (1996) Sums of Products of Bernoulli Numbers. Journal of Number Theory, 60, 23-41. https://doi.org/10.1006/jnth.1996.0110</mixed-citation></ref><ref id="scirp.127691-ref39"><label>39</label><mixed-citation publication-type="other" xlink:type="simple">Gorsky, A. and Zhiboedov, A. (20106) Aspects of the N = 4 SYM Amplitude—Wilson Polygon Duality. Nuclear Physics B, 835, 343-363. https://doi.org/10.1016/j.nuclphysb.2010.04.003</mixed-citation></ref><ref id="scirp.127691-ref40"><label>40</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Agoh</surname><given-names> T. </given-names></name>,<etal>et al</etal>. (<year>2016</year>)<article-title>On Miki’s Identity for Bernoulli Numbers</article-title><source> Integers</source><volume> 16</volume>,<fpage> 1</fpage>-<lpage>12</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.127691-ref41"><label>41</label><mixed-citation publication-type="other" xlink:type="simple">Zhao, J. (2007) Bernoulli Numbers, Wolstenholme’s Theorem and p&lt;sup&gt;5&lt;/sup&gt; Variations of Luca’s Theorem. Journal of Number Theory, 123, 18-26. https://doi.org/10.1016/j.jnt.2006.05.005</mixed-citation></ref><ref id="scirp.127691-ref42"><label>42</label><mixed-citation publication-type="other" xlink:type="simple">Sun, Z.-H. A Note on Wilson’s Theorem and Wolstenholme’s Theorem.</mixed-citation></ref><ref id="scirp.127691-ref43"><label>43</label><mixed-citation publication-type="other" xlink:type="simple">Sun, Z.-H. (1997) Congruences for Bernoulli Numbers and Bernoulli Polynomials. Discrete Mathematics, 163, 153-163. https://doi.org/10.1016/S0012-365X(97)81050-3</mixed-citation></ref></ref-list></back></article>