English

An explicit generating function arising in counting binomial coefficients divisible by powers of primes

Number Theory 2017-11-09 v5 Combinatorics

Abstract

For a prime pp and nonnegative integers jj and nn let ϑp(j,n)\vartheta_p(j,n) be the number of entries in the nn-th row of Pascal's triangle that are exactly divisible by pjp^j. Moreover, for a finite sequence w=(wr1w0)(0,,0)w=(w_{r-1}\cdots w_0)\neq (0,\ldots,0) in {0,,p1}\{0,\ldots,p-1\} we denote by nw\lvert n\rvert_w the number of times that ww appears as a factor (contiguous subsequence) of the base-pp expansion n=(nμ1n0)pn=(n_{\mu-1}\cdots n_0)_p of nn. It follows from the work of Barat and Grabner (Digital functions and distribution of binomial coefficients, J. London Math. Soc. (2) 64(3), 2001), that ϑp(j,n)/ϑp(0,n)\vartheta_p(j,n)/\vartheta_p(0,n) is given by a polynomial PjP_j in the variables XwX_w, where ww are certain finite words in {0,,p1}\{0,\ldots,p-1\}, and each variable XwX_w is set to nw\lvert n\rvert_w. This was later made explicit by Rowland (The number of nonzero binomial coefficients modulo pαp^\alpha, J. Comb. Number Theory 3(1), 2011), independently from Barat and Grabner's work, and Rowland described and implemented an algorithm computing these polynomials PjP_j. In this paper, we express the coefficients of PjP_j using generating functions, and we prove that these generating functions can be determined explicitly by means of a recurrence relation. Moreover, we prove that PjP_j is uniquely determined, and we note that the proof of our main theorem also provides a new proof of its existence. Besides providing insight into the structure of the polynomials PjP_j, our results allow us to compute them in a very efficient way.

Keywords

Cite

@article{arxiv.1604.07089,
  title  = {An explicit generating function arising in counting binomial coefficients divisible by powers of primes},
  author = {Lukas Spiegelhofer and Michael Wallner},
  journal= {arXiv preprint arXiv:1604.07089},
  year   = {2017}
}

Comments

30 pages

R2 v1 2026-06-22T13:39:41.524Z