Explicit Formulas for the p-adic Valuations of Fibonomial Coefficients II
Phakhinkon Phunphayap
Department of Mathematics, Faculty of Science
Silpakorn University
Ratchamankanai Rd, Nakhon Pathom
Thailand, 73000
[email protected]
and
Prapanpong Pongsriiam1
Department of Mathematics, Faculty of Science
Silpakorn University
Ratchamankanai Rd, Nakhon Pathom
Thailand, 73000
[email protected], [email protected]
Abstract.
In this article, we give explicit formulas for the p-adic valuations of the Fibonomial coefficients (npan)F for all primes p and positive integers a and n. This is a continuation from our previous article extending some results in the literature, which deal only with p=2,3,5,7 and a=1. Then we use these formulas to characterize the positive integers n such that (npn)F is divisible by p, where p is any prime which is congruent to ±2(mod5).
1Prapanpong Pongsriiam is the corresponding author.
1. Introduction
The Fibonacci sequence (Fn)n≥1 is given by the recurrence relation Fn=Fn−1+Fn−2 for n≥3 with the initial values F1=F2=1. For each m≥1 and 1≤k≤m, the Fibonomial coefficients (km)F is defined by
[TABLE]
Similar to the binomial coefficients, we define (km)F=1 if k=0 and (km)F=0 if k>m, and it is well-known that (km)F is always an integer for every m≥1 and k≥0.
Recently, there has been an interest in the study of Fibonomial coefficients. For example, Marques and Trojovský [9, 10] determine the integers n≥1 such that (npn)F is divisible by p for p=2,3. Then Ballot [1, Theorem 2] extends the Kummer-like theorem of Knuth and Wilf [8] and uses it to generalize the results of Marques and Trojovský. In particular, Ballot [1, Theorems 3.6, 5.2, and 5.3] finds all integers n such that p∣(npn)U for any nondegenerate fundamental Lucas sequence U and p=2,3 and for p=5,7 in the case U=F. For other recent results on the divisibility properties of the Fibonacci numbers, the Fibonomial or Lucasnomial coefficients, and other generalizations of binomial coefficients, see for example in [2, 3, 4, 6, 7, 11, 13, 15, 16, 17]. Hence the relation p∣(npan)F has been studied only in the case p=2,3,5,7 and a=1. In this article, we extend the investigation on (npan)F to the case of any prime p and any positive integer a. To obtain such the general result for all p and a, the calculation is inevitably long but we try to make it as simple as possible. As a reward, we can easily show in Corollaries 3.3 and 3.4 that (n4n)F is odd if and only if n is a nonnegative power of 2, and (n8n)F is odd if and only if n=(1+3⋅2k)/7 for some k≡1(mod3).
We organize this article as follows. In Section 2, we give some preliminaries and results which are needed in the proof of the main theorems. In Section 3, we calculate the p-adic valuation of (npan)F for all a, p, and n, and use it to give a characterization of the positive integers n such that (npan)F is divisible by p where p is any prime which is congruent to ±2(mod5). Remark that there also is an interesting pattern in the p-adic representation of the integers n such that (npn)F is divisible by p. The proof is being prepared but it is a bit too long to include in this paper. We are trying to make it simpler and shorter and will publish it in the future. For more information and some recent articles related to the Fibonacci numbers, we refer the readers to [14, 18, 19, 20] and references therein.
2. Preliminaries and Lemmas
Throughout this article, unless stated otherwise, x is a real number, p is a prime, a,b,k,m,n,q are integers, m,n≥1, and q≥2. The p-adic valuation (or p-adic order) of n, denoted by νp(n), is the exponent of p in the prime factorization of n. In addition, the order (or the rank) of appearance of n in the Fibonacci sequence, denoted by z(n), is the smallest positive integer m such that n∣Fm, ⌊x⌋ is the largest integer less than or equal to x, {x} is the fractional part of x given by {x}=x−⌊x⌋, ⌈x⌉ is the smallest integer larger than or equal to x, and amodm is the least nonnegative residue of a modulo m. Furthermore, for a mathematical statement P, the Iverson notation [P] is defined by
[TABLE]
We define sq(n) to be the sum of digits of n when n is written in base q, that is, if n=(akak−1…a0)q=akqk+ak−1qk−1+⋯+a0 where 0≤ai<q for every i, then sq(n)=ak+ak−1+⋯+a0. Next, we recall some well-known and useful results for the reader’s convenience.
Lemma 2.1**.**
Let p=5 be a prime. Then the following statements hold.
n∣Fm* if and only if z(n)∣m*
z(p)∣p+1* if and only if p≡±2(mod5) and z(p)∣p−1, otherwise.*
gcd(z(p),p)=1.
Proof.
These are well-known. See, for example, in [14, Lemma 1] for more details.
∎
Lemma 2.2**.**
(Legendre’s formula)*
Let n be a positive integer and let p be a prime. Then*
[TABLE]
We will deal with a lot of calculations involving the floor function. So we recall the following results, which will be used throughout this article, sometimes without reference.
Lemma 2.3**.**
For k∈Z and x∈R, the following holds
⌊k+x⌋=k+⌊x⌋,
{k+x}={x},
\lfloor x\rfloor+\lfloor-x\rfloor=\begin{cases}-1,&\text{if x\not\in\mathbb{Z};}\\
0,&\text{if x\in\mathbb{Z},}\end{cases}**
0≤{x}<1* and {x}=0 if and only if x∈Z.*
\lfloor x+y\rfloor=\begin{cases}\lfloor x\rfloor+\lfloor y\rfloor,&\text{if {x}+{y}<1;}\\
\lfloor x\rfloor+\lfloor y\rfloor+1,&\text{if {x}+{y}\geq 1,}\end{cases}**
⌊k⌊x⌋⌋=⌊kx⌋* for k≥1.*
Proof.
These are well-known and can be proved easily. For more details, see in [5, Chapter 3]. We also refer the reader to [12] for a nice application of (vi).
∎
The next three theorems given by Phunphayap and Pongsriiam [14] are important tools for obtaining the main results of this article.
Theorem 2.4**.**
[14, Theorem 7]** Let p be a prime, a≥0, ℓ≥0, and m≥1. Assume that p≡±1(modm) and δ=[ℓ≡0(modm)] is the Iverson notation. Then
[TABLE]
Theorem 2.5**.**
[14, Theorem 11 and Corollary 12]** Let 0≤k≤m be integers. Then the following statements hold.
Let A2=ν2(⌊6m⌋!)−ν2(⌊6k⌋!)−ν2(⌊6m−k⌋!). If r=mmod6 and s=kmod6, then
[TABLE]
ν5((km)F)=ν5((km)).
Suppose that p is a prime, p=2, and p=5. If m′=⌊z(p)m⌋, k′=⌊z(p)k⌋, r=mmodz(p), and s=kmodz(p), then
[TABLE]
Theorem 2.6**.**
[14, Theorem 13]** Let a, b, ℓ1, and ℓ2 be positive integers and b≥a. For each p=5, assume that ℓ1pb>ℓ2pa and let mp=⌊z(p)ℓ1pb−a⌋ and kp=⌊z(p)ℓ2⌋. Then the following statements hold.
If a≡b(mod2), then ν2((ℓ22aℓ12b)F) is equal to
[TABLE]
and if a≡b(mod2), then ν2((ℓ22aℓ12b)F) is equal to
[TABLE]
Let p=5 be an odd prime and let r=ℓ1pbmodz(p) and s=ℓ2pamodz(p). If p≡±1(mod5), then
[TABLE]
and if p≡±2(mod5), then νp((ℓ2paℓ1pb)F) is equal to
[TABLE]
In fact, Phunphayap and Pongsriiam [14] obtain other results analogous to Theorems 2.5 and 2.6 too but we do not need them in this article.
3. Main Results
We begin with the calculation of the 2-adic valuation of (n2an)F and then use it to determine the integers n such that (n2n)F,(n4n)F,(n8n)F are even. Then we calculate the p-adic valuation of (npan)F for all odd primes p. For binomial coefficients, we know that ν2((n2n))=s2(n). For Fibonomial coefficients, we have the following result.
Theorem 3.1**.**
Let a and n be positive integers, ε=[n≡0(mod3)], and A=⌊3⋅2ν2(n)(2a−1)n⌋. Then the following statements hold.
If a is even, then
[TABLE]
where δ=[nmod6=3,5]. In other words, δ=1 if n≡3,5(mod6) and δ=0 otherwise.
If a is odd, then
[TABLE]
where δ=2(nmod6)−1[2∤n]+⌈2ν2(n)+3−nmod3⌉[nmod6=2,4]. In other words, δ=2(nmod6)−1 if n is odd, δ=0 if n≡0(mod6), δ=⌈2ν2(n)⌉+1 if n≡4(mod6), and δ=⌈2ν2(n)+1⌉ if n≡2(mod6).
Proof.
The second equalities in (3.1) and (3.2) follow from Legendre’s formula. So it remains to prove the first equalities in (3.1) and (3.2). To prove (i), we suppose that a is even and divide the consideration into two cases.
Case 1. 2∤n. Let r=2anmod6 and s=nmod6. Then s∈{1,3,5}, r≡2an≡4n≡4s(mod6), and therefore (r,s)=(4,1),(0,3),(2,5). In addition, A=⌊3(2a−1)n⌋=3(2a−1)n and δ=[s=3,5]. By Theorem 2.5(i), the left–hand side of (3.1) is A2 if s=1 and A2+2 if s=3,5, where A2=ν2(⌊62an⌋!)−ν2(⌊6n⌋!)−ν2(⌊6(2a−1)n⌋!). We obtain by Theorem 2.4 that
[TABLE]
By Legendre’s formula and Lemma 2.3, we have
[TABLE]
[TABLE]
[TABLE]
From the above observation, we obtain
[TABLE]
It is now easy to check that A2 (if s=1), A2+2 (if s=3,5) are the same as δ+A−2aε−ν2(A!) in (3.1). So (3.1) is verified.
Case 2. 2∣n. We write n=2bℓ where 2∤ℓ and let m=⌊32aℓ⌋, k=⌊3ℓ⌋, r=2aℓmod3, and s=ℓmod3. Since a is even, r=s. Then we apply Theorem 2.6(i) to obtain
[TABLE]
We see that ℓ≡0(mod3) if and only if n≡0(mod3). In addition, A=3(2a−1)ℓ and δ=0. By Theorem 2.4, we have
[TABLE]
In addition,
[TABLE]
So ν2((m−k)!)=ν2(A!). Substituting these in (3.3), we obtain (3.1). This completes the proof of (i).
To prove (ii), we suppose that a is odd and divide the proof into two cases.
Case 1. 2∤n. This case is similar to Case 1 of the previous part. So we let r=2anmod6 and s=nmod6. Then s∈{1,3,5}, r≡2an≡2n≡2s(mod6), (r,s)=(2,1),(0,3),(4,5), δ=2s−1, and the left–hand side of (3.2) is A2 if s=1, A2+2 if s=3, and A2+3 if s=5, where A2=ν2(⌊62an⌋!)−ν2(⌊6n⌋!)−ν2(⌊6(2a−1)n⌋!). In addition, we have
[TABLE]
[TABLE]
[TABLE]
[TABLE]
Therefore
[TABLE]
Furthermore,
[TABLE]
which implies that A=3(2a−1)n−6r. Then
[TABLE]
It is now easy to check that A2 (if s=1), A2+2 (if s=3), and A2+3 (if s=5), are the same as δ+A−2a−1ε−ν2(A!) in (3.2). So (3.2) is verified.
Case 2. 2∣n. This case is similar to Case 2 of the previous part. So we write n=2bℓ where 2∤ℓ and let m=⌊32aℓ⌋, k=⌊3ℓ⌋, r=2aℓmod3, and s=ℓmod3. We obtain by Theorem 2.6 that ν2((n2an)F) is equal to
[TABLE]
By Theorem 2.4, we have
[TABLE]
Since (2a−1)ℓ≡ℓ(mod3), {3(2a−1)ℓ}={3ℓ}. This implies that ν2(m!)=A−2a−1ε+ν2(k!). In addition, (r,s)=(0,0),(2,1),(1,2), and
[TABLE]
From the above observation, we obtain
[TABLE]
Substituting this in (3.4), we see that
[TABLE]
Recall that n=2bℓ≡(−1)bℓ(mod3). So (3.5) implies that
[TABLE]
which is the same as (3.2). This completes the proof.
∎
We can obtain the main result of Maques and Trojovský [9] as a corollary.
Corollary 3.2**.**
(Marques and Trojovský [9])*
(n2n)F is even for all n≥2.*
Proof.
Let n≥2 and apply Theorem 3.1 with a=1 to obtain ν2((n2n)F)=δ+s2(A). If n≡0,1(mod6), then δ>0. If n≡0(mod6), then n≥3⋅2ν2(n), and so A≥1 and s2(A)>0. If n≡1(mod6), then A=⌊3n⌋>1 and so s2(A)>0. In any case, ν2((n2n)F)>0. So (n2n)F is even.
∎
Corollary 3.3**.**
Let n≥2. Then (n4n)F is even if and only if n is not a power of 2. In other words, for each n∈N, (n4n)F is odd if and only if n=2k for some k≥0.
Proof.
Let δ, ε, and A be as in Theorem 3.1. If n=2k for some k≥1, then we apply Theorem 3.1 with a=2, δ=0, ε=1, A=1 leading to ν2((n4n)F)=0, which implies that (n4n)F is odd.
Suppose n is not a power of 2. By Theorem 3.1, ν2((n4n)F)=δ+s2(A)−ε≥s2(A)−1. Since n is not a power of 2, the sum s2(n)≥2. It is easy to see that s2(m)=s2(2cm) for any c,m∈N. Therefore s2(A)=s2(2ν2(n)n)=s2(2ν2(n)⋅2ν2(n)n)=s2(n)≥2, which implies ν2((n4n)F)≥1, as required.
∎
Observe that 2,22,23 are congruent to 2,4,1(mod7), respectively. This implies that if k≥1 and k≡1(mod3), then (1+3⋅2k)/7 is an integer. We can determine the integers n such that (n8n)F is odd as follows.
Corollary 3.4**.**
(n8n)F* is odd if and only if n=71+3⋅2k for some k≡1(mod3).*
Proof.
Let a,δ,A,ε be as in Theorem 3.1. We first suppose n=(1+3⋅2k)/7 where k≥1 and k≡1(mod3). Then n≡7n≡1+3⋅2k≡1(mod6). Then a=3, ε=1, δ=0, A=2k, and so ν2((n8n)F)=0. Therefore (n8n)F is odd. Next, assume that (n8n)F is odd. Observe that A≥2 and s2(A)>0. If n≡0(mod3), then ε=0 and ν2((n8n)F)=δ+s2(A)>0, which is not the case. Therefore n≡1,2(mod3), and so ε=1. If n≡0(mod2), then δ=⌈2ν2(n)+3−nmod3⌉≥1, and so ((n8n))F≥s2(A)>0, which is a contradiction. So n≡1(mod2). This implies n≡1,5(mod6). But if n≡5(mod6), then δ≥2 and ν2((n8n)F)>0, a contradiction. Hence n≡1(mod6). Then δ=0. Since s2(A)−1=ν2((n8n)F)=0, we see that A=2k for some k≥1. Then 37n−1=⌊37n⌋=A=2k, which implies n=71+3⋅2k, as required.
∎
Theorem 3.5**.**
For each a,n∈N, ν5((n5an)F)=ν5((n5an))=4s5((5a−1)n). In particular, (n5an)F is divisible by 5 for every a,n∈N.
Proof.
The first equality follows immediately from Theorem 2.5(ii). By Legendre’s formula, ν5((kn))=4s5(k)+s5(n−k)−s5(n) for all n≥k≥1. So ν5((n5an)F) is
[TABLE]
Theorem 3.6**.**
Let p=2,5, a,n∈N, r=panmodz(p), s=nmodz(p), and A=⌊pνp(n)z(p)n(pa−1)⌋. Then the following statements hold.
If p≡±1(mod5), then νp((npan)F) is equal to
[TABLE]
If p≡±2(mod5) and a is even, then νp((npan)F) is equal to
[TABLE]
If p≡±2(mod5) and a is odd, then νp((npan)F) is equal to
[TABLE]
where δ=(⌊2νp(n)⌋+[2∤νp(n)][r>s]+[r<s]νp(Fz(p)))[r=s], or equivalently, δ=0 if r=s, δ=⌊2νp(n)⌋+νp(Fz(p)) if r<s, and δ=⌈2νp(n)⌉ if r>s.
Proof.
We first prove (i) and (ii). So we suppose that the hypothesis of (i) or (ii) is true. By writing νp(A!)=p−1A−sp(A), we obtain the equalities in (3.6) and (3.7). By Lemma 2.1(ii), pa≡1(modz(p)). Then r=s.
Case 1. p∤n. Let m=⌊z(p)pan⌋ and k=⌊z(p)n⌋. Then we obtain by Theorem 2.5(iii) that
[TABLE]
By Lemma 2.1(ii) and Theorem 2.4, we see that if p≡±1(mod5), then p≡1(modz(p)) and
[TABLE]
and if p≡±2(mod5) and a is even, then p≡−1(modz(p)) and
[TABLE]
Since z(p)∣pa−1 and p∤n, A=z(p)n(pa−1). Therefore
[TABLE]
Substituting (3.10), (3.11), and (3.12) in (3.9), we obtain (3.6) and (3.7).
Case 2. p∣n. Let n=pbℓ where p∤ℓ, m=⌊z(p)ℓpa⌋, and k=⌊z(p)ℓ⌋. Since r=s, we obtain by Theorem 2.6 that νp((npan)F) is equal to
[TABLE]
Since gcd(p,z(p))=1, we see that ℓ≡0(modz(p))⇔n≡0(modz(p))⇔s=0. Similar to Case 1, we have νp(m!)=z(p)(p−1)ℓ(pa−1)−a{z(p)ℓ}+νp(k!) if p≡±1(mod5), νp(m!)=z(p)(p−1)ℓ(pa−1)−2a[s=0]+νp(k!) if p≡±2(mod5) and a is even, ℓpa≡ℓ(modz(p)), A=z(p)ℓ(pa−1), and m−k=A. So (3.13) leads to (3.6) and (3.7). This proves (i) and (ii).
To prove (iii), suppose that p≡±2(mod5) and a is odd. By Lemma 2.1(ii), p≡−1(modz(p)). In addition, p−1pa−1=pa−1+pa−2+…+1≡1(modz(p)). We divide the consideration into two cases.
Case 1. p∤n. This case is similar to Case 1 of the previous part. So we apply Theorems 2.4 and 2.5(iii). Let m=⌊z(p)pan⌋ and k=⌊z(p)n⌋. Then
[TABLE]
[TABLE]
[TABLE]
Since p−1pa−1≡1(modz(p)), p−1n(pa−1)≡n(modz(p)). This implies that {z(p)(p−1)n(pa−1)}={z(p)n}. Therefore
[TABLE]
From the above observation, if r≥s, then A=m−k and
[TABLE]
which leads to (3.8). If r<s, then A=m−k−1, ⌊z(p)pan−n+z(p)⌋=A+1, and νp((npan)F) is equal to
[TABLE]
which is the same as (3.8).
Case 2. p∣n. Let n=pbℓ where p∤ℓ, m=⌊z(p)ℓpa⌋, and k=⌊z(p)ℓ⌋. Similar to Case 1, s=0⇔ℓ≡0(modz(p)). In addition, p−1ℓ(pa−1)≡ℓ(modz(p)), and so we obtain by Theorem 2.4 that νp(m!)=⌊p−1A⌋−2a−1[s=0]+νp(k!). The calculation of νp((npan)F)=νp((ℓpbℓpa+b)F) is done by the applications of Theorem 2.6 and is divided into several cases. Suppose r=s. Then pa+bℓ≡pan≡r≡s≡n≡pbℓ(modz(p)). Since (p,z(p))=1, this implies ℓpa≡ℓ(modz(p)). Therefore A=⌊z(p)ℓpa−ℓ⌋=z(p)ℓpa−ℓ=m−k and
[TABLE]
which is (3.8). Obviously, if ℓ≡0(modz(p)), then r=s, which is already done. So from this point on, we assume that r=s and ℓ≡0(modz(p)). Recall that p≡−1(modz(p)) and a is odd. So if b is odd, then
[TABLE]
[TABLE]
Similarly, if b is even, then r=ℓpamodz(p), s=ℓmodz(p), and A=m−k+⌊z(p)r−s⌋. Let R=⌊p−1A⌋−2a−1[s=0]−νp(A!)+δ be the quantity in (3.8). From the above observation and the application of Theorem 2.6, we obtain νp((npan)F) as follows. If r>s and b is even, then A=m−k and
[TABLE]
If r>s and b is odd, then A=m−k−1 and
[TABLE]
If r<s and b is even, then A=m−k−1 and
[TABLE]
If r<s and b is odd, then A=m−k and
[TABLE]
This completes the proof.
∎
In the next two corollaries, we give some characterizations of the integers n such that (npan)F is divisible by p.
Corollary 3.7**.**
Let p be a prime and let a and n be positive integers. If n≡0(modz(p)), then p∣(npan)F.
Proof.
We first consider the case p=2,5. Assume that n≡0(modz(p)) and r, s, A, and δ are as in Theorem 3.6. Then pνp(n)z(p)n,p−1A∈Z, r=s=0, and δ=0. Every case in Theorem 3.6 leads to νp((npan)F)=p−1sp(A)>0, which implies p∣(npan)F. If p=5, then the result follows immediately from Theorem 3.5. If p=2, then every case of Theorem 3.1 leads to ν2((n2an)F)≥s2(A)>0, which implies the desired result.
∎
Corollary 3.8**.**
Let p=2,5 be a prime and let a, n, r, s, and A be as in Theorem 3.6. Assume that p≡±2(mod5) and n≡0(modz(p)). Then the following statements hold.
Assume that a is even. Then p∣(npan)F if and only if sp(A)>2a(p−1).
Assume that a is odd and p∤n. If r<s, then p∣(npan)F. If r≥s, then p∣(npan)F if and only if sp(A)≥2a+1(p−1).
Assume that a is odd and p∣n. If r=s, then p∣(npan)F. If r=s, then p∣(npan)F if and only if sp(A)≥2a+1(p−1).
Proof.
We use Lemmas 2.2 and 2.3 repeatedly without reference. For (i), we obtain by (3.7) that
[TABLE]
This proves (i). To prove (ii) and (iii), we let δ be as in Theorem 3.6 and divide the consideration into two cases.
Case 1. p∤n. If r<s, then we obtain by Theorem 2.5(iii) that νp((npan)F)≥νp(Fz(p))≥1. Suppose r≥s. Then δ=0 and (3.8) is
[TABLE]
If sp(A)≥2a+1(p−1), then (3.8) implies that
[TABLE]
Similarly, if sp(A)<2a+1(p−1), then νp((npan)F)<1−{p−1A}≤1. This proves (ii).
Case 2. p∣n. We write n=pbℓ where p∤ℓ. Then b≥1. Recall that νp(Fz(p))≥1. If r=s, then Theorem 2.6 implies that νp((npan))≥2b if b is even and it is ≥2b+1 if b is odd. In any case, νp((npan)F)≥1. So p∣(npan)F. If r=s, then δ=0 and we obtain as in Case 1 that p∣(npan)F if and only if sp(A)≥2a+1(p−1). This proves (iii).
∎
Corollary 3.9**.**
Let p=2,5 be a prime and let A=pνp(n)z(p)n(p−1). Assume that p≡±1(mod5). Then p∣(npn)F if and only if sp(A)≥p−1.
Proof.
We remark that by Lemma 2.1(ii), A is an integer. Let x=pνp(n)z(p)n. We apply Theorem 3.6(i) with a=1. If sp(A)≥p−1, then (3.6) implies that νp((npn)F)≥1−{x}>0. If sp(A)<p−1, then νp((npn)F)<1−{x}≤1. This completes the proof.
∎
Acknowledgments
This research was jointly supported by the Thailand Research Fund and the Faculty of Science Silpakorn University, grant number RSA5980040.