A351859 a(n) = [x^n] (1 + x + x^2 + x^3)^(4*n)/(1 + x + x^2)^(3*n).
1, 1, 3, 19, 67, 251, 1137, 4803, 20035, 87013, 377753, 1634469, 7134385, 31261114, 137121113, 603206144, 2660097603, 11749336328, 51981371895, 230336544210, 1021976441817, 4539784391763, 20188837618799, 89871081815631, 400427435522737, 1785639575031501
Offset: 0
Examples
Examples of supercongruences: a(5) - a(1) = 251 - 1 = 2*(5^3) == 0 (mod 5^3) a(2*7) - a(2) = 137121113 - 3 = 2*5*(7^4)*5711 == 0 (mod 7^4) a(5^2) - a(5) = 1785639575031501 - 251 = 2*(5^6)*1373*3989*10433 == 0 (mod 5^6)
References
- R. P. Stanley, Enumerative Combinatorics Volume 2, Cambridge Univ. Press, 1999, Theorem 6.33, p. 197.
Links
- Paolo Xausa, Table of n, a(n) for n = 0..425
- R. Meštrović, Wolstenholme's theorem: Its Generalizations and Extensions in the last hundred and fifty years (1862--2012), arXiv:1111.3057 [math.NT], 2011.
Crossrefs
Programs
-
Maple
seq(add(add(add((-1)^j*binomial(4*n,n-2*i-j-k)*binomial(4*n,i)* binomial(3*n+j-1,j)*binomial(j,k), k = 0..j), j = 0..n), i = 0..n), n = 0..25);
-
Mathematica
A351859[n_] := Sum[(-1)^j*Binomial[4*n, n-2*i-j-k]*Binomial[4*n, i]*Binomial[3*n+j-1, j]*Binomial[j, k], {i, 0, n}, {j, 0, n}, {k, 0, j}]; Array[A351859, 25, 0] (* Paolo Xausa, May 30 2025 *)
-
PARI
a(n)=sum(i=0,n,sum(j=0,n,sum(k=0,j,(-1)^j*binomial(4*n,n-2*i-j-k)*binomial(4*n,i)*binomial(3*n+j-1,j)*binomial(j,k)))); vector(25,n,a(n-1)) \\ Paolo Xausa, May 04 2022
Formula
a(n) = Sum_{i = 0..n} Sum_{j = 0..n} Sum_{k = 0..j} (-1)^j* C(4n,n-2*i-j-k) *C(4n,i)*C(3n+j-1,j)*C(j,k).
The o.g.f. A(x) = 1 + x + 3*x^2 + 19*x^3 + 67*x^4 + ... is the diagonal of the bivariate rational function 1/(1 - t*(1 + x + x^2 + x^3)^4/(1 + x + x^2)^3) and hence is an algebraic function over the field of rational functions Q(x) by Stanley, Theorem 6.33, p. 197.
Let F(x) = (1/x)*Series_Reversion( x*(1 + x + x^2)^3/(1 + x + x^2 + x^3)^4 ) = 1 + x + 2*x^2 + 8*x^3 + 25*x^4 + 81*x^5 + 305*x^6 + .... Then A(x) = 1 + x*F'(x)/F(x).
Comments