Congruences for Ap\'ery numbers $\beta_{n}=\sum_{k=0}^{n}\binom{n}{k}^2\binom{n+k}{k}$
Hui-Qin Cao, Yuri Matiyasevich, and Zhi-Wei Sun

TL;DR
This paper investigates new congruences involving Apéry numbers, revealing deep number-theoretic properties and relations between different types of Apéry sequences, with implications for understanding their modular behavior.
Contribution
The paper establishes novel congruences for Apéry numbers and explores their relations, advancing the understanding of their arithmetic properties.
Findings
Proved a congruence involving Apéry numbers modulo 2n^2.
Derived a prime modulus congruence involving Bernoulli numbers.
Identified relations between two types of Apéry numbers.
Abstract
In this paper we establish some congruences involving the Ap\'ery numbers . For example, we show that for any positive integer , and for any prime , where is the th Bernoulli number. We also present certain relations between congruence properties of the two kinds of A\'pery numbers, and .
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Int. J. Number Theory 16(2020), no. 5, 981–1003.
Congruences for Apéry numbers
Hui-Qin Cao, Yuri Matiyasevich, and Zhi-Wei Sun
(Hui-Qin Cao) Department of Applied Mathematics, Nanjing Audit University, Nanjing 211815, People’s Republic of China
(Yuri Matiyasevich) St. Petersburg Department of Steklov Mathematical Institute of Russian Academy of Sciences, Fontanka 27, 191023, St. Petersburg, Russia
(Zhi-Wei Sun, corresponding author) Department of Mathematics, Nanjing University, Nanjing 210093, People’s Republic of China
Abstract.
In this paper we establish some congruences involving the Apéry numbers . For example, we show that
[TABLE]
for any positive integer , and
[TABLE]
for any prime , where is the th Bernoulli number. We also present certain relations between congruence properties of the two kinds of Aṕery numbers, and .
2010 Mathematics Subject Classification. Primary 11B65; Secondary 11A07, 11B68, 11B75.
Keywords. Apéry numbers, Bernoulli numbers, congruences.
The research is supported by the NSFC-RFBR Cooperation and Exchange Program (NSFC Grant No. 11811530072, RFBR Grant No. 18-51-53020-GFENxa). The first and the third authors are also supported by the Natural Science Foundation of China (Grant No. 11971222).
1. Introduction
In 1979 R. Apéry (see [1] and [19]) established the irrationality of by using the Apéry numbers
[TABLE]
His method also allowed him to prove the irrationality of via another kind of Apéry numbers
[TABLE]
In 2012, the third author [15] proved that
[TABLE]
and
[TABLE]
where are the Bernoulli numbers defined by
[TABLE]
(For the basic properties of Bernoulli numbers, see [8, pp. 228-248].) The third author also conjectured that
[TABLE]
and
[TABLE]
which was confirmed by V.J.W. Guo and J. Zeng [5]. In 2016 the third author [17] showed that
[TABLE]
In view of this, it is natural to ask whether the Apéry numbers \beta_{n}\ also have such kind of congruence properties. This is the main motivation of this paper.
Another motivation is due to a theorem of E. Rowland and R. Yassawi [12] about modulo . We will extend their result to modulo ; quite unexpectedly, this requires consideration of modulo .
Now we state our main results which were first found via Mathematica.
Theorem 1.1**.**
For any positive integer , we have
[TABLE]
Theorem 1.2**.**
Let be a prime. Then
[TABLE]
and
[TABLE]
where denotes the harmonic number .
Theorem 1.3**.**
Let be a nonnegative integer. If
[TABLE]
with , then
[TABLE]
Remark 1.4*.*
For any , we clearly have
[TABLE]
Theorem 1.5**.**
Let be a nonnegative integer. If
[TABLE]
with , then
[TABLE]
where (the binary run-length of ) is defined as the number of blocks of consecutive [math]’s and ’s in the binary expansion of .
We will prove Theorem 1.1 in the next section. We are going to provide some lemmas in Section 3 and show Theorem 1.2 in Section 4. Theorems 1.3 and 1.5 will be proved in Section 5.
2. Proof of Theorem 1.1
Lemma 2.1**.**
For any , we have
[TABLE]
where
[TABLE]
Proof. Note that
[TABLE]
is a double sum with
[TABLE]
Using the method in Mu and Sun’s paper [9], we find
[TABLE]
and
[TABLE]
so that
[TABLE]
which can be verified directly. This allows us to reduce the double sum to the right-hand side of (2.1).
Identities (2.2) and (2.3) can be deduced similarly; in fact,
[TABLE]
and
[TABLE]
where
[TABLE]
This ends our proof. ∎
Lemma 2.2**.**
For any positive even integer , we have
[TABLE]
Proof. Clearly,
[TABLE]
For , if then is even and hence
[TABLE]
if then
[TABLE]
Therefore,
[TABLE]
where we have applied (in the last step) the Chu-Vandermonde identity (cf. [4, (3.1)]). This proves (2.5). ∎
Proof of Theorem 1.1. For each , clearly
[TABLE]
and
[TABLE]
where is the Catalan number .
(i) As
[TABLE]
we have
[TABLE]
Clearly for all . So, by Lemma 2.1 and the above, (1.1) holds when .
Now suppose that is even. By Lemma 2.1 and the above, we have
[TABLE]
With the help of the Chu–Vandermonde identity,
[TABLE]
and
[TABLE]
In view of (2.5), we also have
[TABLE]
since . Therefore (1.1) holds.
(ii) As , we have
[TABLE]
Clearly for all . So, by Lemma 2.1 and the above, (1.2) holds when .
Now suppose that is even. By Lemma 2.1 and the above, we have
[TABLE]
By the Chu–Vandermonde identity,
[TABLE]
Combining this with (2.6) we obtain (1.2).
(iii) Since
[TABLE]
we have
[TABLE]
and hence (1.3) follows from (2.3).
In view of the above, we have completed the proof of Theorem 1.1. ∎
3. Some lemmas
For each , we define
[TABLE]
and call such numbers harmonic numbers of order . Those are usually called harmonic numbers.
Lemma 3.1**.**
For any , we have
[TABLE]
Remark 3.2*.*
The identities (3.1)-(3.3) are known. See [4, (1.45)] for (3.1), [6] for (3.2), and the proof of [16, Lemma 3.1] for simple proofs of (3.2) and (3.3).
Let be a prime. In 1900 J.W.L. Glaisher [2, 3] refined Wolstenholme’s work [20] on congruences by showing that
[TABLE]
and
[TABLE]
Lemma 3.3**.**
(X. Zhou and T. Cai [22, p. 1332])* Let . For any prime , we have*
[TABLE]
Lemma 3.4**.**
(i) (J. Zhao [21, Theorems 3.1 and 3.2])* Let and let be a prime. Then*
[TABLE]
If and , then
[TABLE]
(ii) (J. Zhao [21, Theorem 3.5])* Let with odd. For any prime , we have*
[TABLE]
(iii) (J. Zhao [21, Corollary 3.6])* For any prime , we have*
[TABLE]
Lemma 3.5**.**
For any prime , we have
[TABLE]
and
[TABLE]
Proof. (i) Clearly,
[TABLE]
and hence
[TABLE]
Note that by (3.5) or Lemma 3.3, and
[TABLE]
by R. Tauraso [18, Theorem 1.3]. Thus
[TABLE]
By Lemma 3.2,
[TABLE]
Combining these with (3.8), we immediately obtain (3.6).
(ii) As and
[TABLE]
we have
[TABLE]
with the help of Lemma 3.4 and (3.4). This proves (3.7).
The proof of Lemma 3.5 is now complete. ∎
Lemma 3.6**.**
Let be a prime. Then
[TABLE]
Proof. As
[TABLE]
for all , we have
[TABLE]
By (3.10),
[TABLE]
Note also that
[TABLE]
with the help of parts (i) and (iii) of Lemma 3.4. Combining the above, we get the desired congruence (3.11). ∎
Lemma 3.7**.**
For any prime , we have
[TABLE]
Proof. It is known (cf. [18, Theorem 2.4]) that
[TABLE]
By Lemma 3.3,
[TABLE]
So, the desired congruence follows. ∎
Lemma 3.8**.**
For any prime , we have
[TABLE]
Proof. Clearly,
[TABLE]
since and by (3.5) or Lemma 3.3. Note that
[TABLE]
by [14, Theorem 5.1 and Remark 5.1]. Therefore
[TABLE]
and hence (3.13) follows. ∎
Remark 3.9*.*
Let be a prime. If then (3.13) has the following equivalent form
[TABLE]
in view of (3.12). It is easy to see that (3.14) also holds for .
4. Proof of Theorem 1.2
To prove Theorem 1.2, we need an auxiliary theorem.
Theorem 4.1**.**
Let be a prime. Then
[TABLE]
and
[TABLE]
Proof.
For each , we clearly have
[TABLE]
and
[TABLE]
Let and
[TABLE]
In view of the above, we have
[TABLE]
Case 1. .
In this case,
[TABLE]
by (3.1), and hence
[TABLE]
with the help of Lemma 3.6. This proves (4.1).
Case 2. .
In this case,
[TABLE]
and also
[TABLE]
by Lemma 3.4. Thus
[TABLE]
In view of (3.3) and (4.4), we have
[TABLE]
Note that
[TABLE]
by (3.14) and (3.12). In view of Lemma 3.4,
[TABLE]
and
[TABLE]
Therefore
[TABLE]
Combining this with (4.7), we see that
[TABLE]
This proves (4.2).
Case 3. .
In this case,
[TABLE]
and hence
[TABLE]
with the help of (3.3), (3.14) and Lemma 3.5. This yields the desired (4.3).
In view of the above, we have completed the proof of Theorem 4.1. ∎
Proof of Theorem 1.2. It is easy to see that (1.4)-(1.6) hold for . Below we assume .
For let
[TABLE]
with given by Lemma 2.1. In view of Lemma 2.1, it suffices to show the following three congruences:
[TABLE]
Clearly,
[TABLE]
Note that
[TABLE]
In view of Lemma 3.7, we have
[TABLE]
For let be defined as in (4.6). Noting
[TABLE]
and applying Theorem 4.1, we get
[TABLE]
Combining this with (4.11) and (4.12), we get (4.8).
Similarly,
[TABLE]
This proves (4.9).
As
[TABLE]
we have
[TABLE]
Combining this with (4.11) and (4.12), we get (4.10).
The proof of Theorem 1.2 is now complete. ∎
5. Proofs of theorems 1.3 and 1.5
Clearly , and for each we have
[TABLE]
E. Rowland and R. Yassawi discovered that the two least significant binary digits of are completely determined by the fourth and the third least significant digits of the Apéry number . (As , the two least significant digits of are always [math] and , and hence these digits contain no information about .)
Theorem 5.1**.**
[12, Theorem 3.28]** Let . If
[TABLE]
with , then
[TABLE]
Theorem 1.3 shows that the fourth and the third least significant digits of also determine the second least significant digit of (all numbers are odd, so the very least significant digit is always ).
Theorem 1.5 shows that the knowledge of the five least significant digits of by itself is not sufficient for determining the three least significant digits of . This is because the third least significant digit of can be [math] or . But the additional knowledge of this digit gives the missing bit of information for determining the three least significant digits of according to Theorem 1.5.
Theorems 1.3 and 1.5 can be proved by the technique used in [12] with the aid of software [10] implemented by E. Rowland.
Namely, Apéry numbers of both kinds are known to be the diagonal sequences of certain rational functions. In particular, A. Straub [13] proved that is the coefficient of in the formal Taylor expansion of the function
[TABLE]
Similar coefficient in the expansion of
[TABLE]
is, according to [12], equal to .
According to [12, Theorem 2.1], the above representations of Apéry numbers as the diagonal coefficients imply that for every prime and its power the sequences and are -automatic. Moreover, [12] contains two algorithms for constructing corresponding automata; Mathematica implementations of these algorithms are given in [10].
To prove Theorem 1.3, we need to examine the sequence . Corresponding automaton was calculated in [11] and exhibited in [12], we reproduce it here in Figure 1 (with the initial state marked in light color). This automaton calculates in the following way. Let
[TABLE]
where ; start from the initial state and follow the oriented path formed by edges marked ; the final vertex is labeled by .
Function AutomaticSequenceReduce from [10], being applied to (5.4), returns the minimal automaton calculating ; this automaton is exhibited in Figure 2.
Let
[TABLE]
Theorem 1.3 asserts that
[TABLE]
We can construct an automaton calculating simply by applying function to the labels of states in automaton . The resulting automaton is not minimal, but we can minimize it using, for example, function AutomatonMinimize from [10]. The minimal automaton calculating turns out to be equal to , which proves (5.6) and hence Theorem 1.3 is proved as well.
The minimal automaton calculating was constructed in [11], it has 33 states; the minimal automaton calculating has 17 states. Taking into account Theorem 5.1, for proving Theorem 1.5 it is sufficient to work just with the fifth least significant digits of and the third least significant digits of and , which allows us to deal with automata having fewer number of states.
Figures 3 and 4 exhibit the minimal automata and calculating respectively the fifth least significant digit of and the third least significant digit of . These automata are easily constructed from and by properly relabelling the states and minimizing resulting automata.
With function AutomatonProduct from [10] we can easily construct automaton which is the product of and . Each state of is labeled by two bits (corresponding to the fifth digit of and the third digit of ). Replacing each such pair of bits by their sum modulo and performing minimization, we get the automaton exhibited on Figure 5. It is not difficult to see that this automaton calculates the third digit of , which proves Theorem 1.5.
Acknowledgment. The authors would like to thank the third author’s PhD student Chen Wang for helpful comments on Lemmas 2.1 and 3.8.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] R. Apéry, Irrationalité de ζ ( 2 ) 𝜁 2 \zeta(2) et ζ ( 3 ) 𝜁 3 \zeta(3) , Astérisque 61 (1979), 11–13.
- 2[2] J.W.L. Glaisher, Congruences relating to the sums of products of the first n numbers and to other sums of products , Quart. J. Math., 31 (1900), 1–35.
- 3[3] J.W.L. Glaisher, On the residues of the sums of products of the first p − 1 𝑝 1 p-1 numbers, and their powers, to modulus p 2 superscript 𝑝 2 p^{2} or p 3 superscript 𝑝 3 p^{3} , Quart. J. Math., 31 (1900), 321–353.
- 4[4] H. W. Gould, Combinatorial Identities , Morgantown Printing and Binding Co., 1972.
- 5[5] V.J.W. Guo and J. Zeng, Proof of some conjectures of Z.-W. Sun on congruences for Apéry numbers , J. Number Theory 132 (2012), 1731–1740.
- 6[6] V. Hernández, Solution IV of problem 10490 , Amer. Math. Monthly 106 (1999), 589–590.
- 7[7] C. Helou and G. Terjanian, On Wolstenholme’s theorem and its converse , J. Number Theory, 128 (2008), 475–499.
- 8[8] K. Ireland and M. Rosen, A Classical Introduction to Modern Number Theory, 2nd Ed., Grad. Texts. Math. 84, Springer, New York, 1990.
