Skip to main content
QUICK REVIEW

[Paper Review] Some Elementary Congruences for the Number of Weighted Integer Compositions

Steffen Eger|arXiv (Cornell University)|Mar 22, 2015
Advanced Combinatorial MathematicsMathematics21 references6 citations
TL;DR

This paper establishes elementary congruence properties for the number of f-weighted integer compositions, generalizing classical binomial coefficient results like Lucas' theorem and Babbage's congruence. It derives divisibility laws for extended binomial coefficients $\binom{k}{n}_f$, proves a generalized Glaisher-type congruence modulo primes, and applies these to a primality criterion for weighted compositions.

ABSTRACT

An integer composition of a nonnegative integer $n$ is a tuple $(\\pi_1,\\ldots,\\pi_k)$ of nonnegative integers whose sum is $n$; the $\\pi_i$'s are called the parts of the composition. For fixed number $k$ of parts, the number of $f$-weighted integer compositions (also called $f$-colored integer compositions in the literature), in which each part size $s$ may occur in $f(s)$ different colors, is given by the extended binomial coefficient $\\binom{k}{n}_{f}$. We derive several congruence properties for $\\binom{k}{n}_{f}$, most of which are analogous to those for ordinary binomial coefficients. Among them is the parity of $\\binom{k}{n}_{f}$, Babbage's congruence, Lucas' theorem, etc. We also give congruences for $c_{f}(n)$, the number of $f$-weighted integer compositions with arbitrarily many parts, and for extended binomial coefficient sums. We close with an application of our results to prime criteria for weighted integer compositions.

Motivation & Objective

  • To extend classical congruence theorems—such as Lucas’ theorem and Babbage’s congruence—for ordinary binomial coefficients to the generalized setting of f-weighted integer compositions.
  • To derive divisibility properties for the number of f-weighted integer compositions with a fixed number of parts, denoted $\binom{k}{n}_f$.
  • To study the total number of f-weighted compositions with arbitrarily many parts, $c_f(n)$, and their congruence behavior.
  • To generalize Mann and Shanks' primality criterion to the context of weighted integer compositions using extended binomial coefficients.
  • To establish a theoretical primality test based on divisibility of $\binom{m}{n-2m}_f$ by $m$ for odd composite $n$.

Proposed method

  • Uses generating functions: the coefficient $\binom{k}{n}_f$ is defined as the coefficient of $x^n$ in $\left(\sum_{s\in\mathbb{N}} f(s)x^s\right)^k$, linking it combinatorially to f-weighted compositions.
  • Applies the multinomial expansion to express $\binom{k}{n}_f$ as a sum over compositions of $n$ into $k$ parts, weighted by $f(\pi_i)$.
  • Employs recursive identities such as $\binom{k}{n}_f = \sum_{s\in\mathbb{N}} f(s)\binom{k-1}{n-s}_f$, generalizing the Pascal identity.
  • Uses the ring $\mathbb{Z}/p\mathbb{Z}$ to analyze congruences modulo primes, particularly for $p \equiv 1 \pmod{m}$, and applies Glaisher's theorem to extended binomial coefficients.
  • Applies the Vandermonde convolution and properties of binomial coefficients modulo $p$ to derive congruences for $\binom{k}{n}_f$.
  • Derives a primality criterion by analyzing $\binom{m}{n-2m}_f \equiv 0 \pmod{m}$ for $0 \leq 2m \leq n$, generalizing Mann and Shanks’ result to weighted compositions.

Experimental results

Research questions

  • RQ1Which classical congruence properties of binomial coefficients—such as Lucas’ theorem and Babbage’s congruence—extend to the generalized setting of f-weighted integer compositions?
  • RQ2How does the number of f-weighted compositions with $k$ parts, $\binom{k}{n}_f$, behave modulo primes, especially when $p \equiv 1 \pmod{m}$?
  • RQ3Can the total number of f-weighted compositions of $n$ with any number of parts, $c_f(n)$, satisfy specific divisibility or congruence conditions?
  • RQ4Is there a generalization of the Mann and Shanks primality criterion to f-weighted compositions, and what conditions ensure its validity?
  • RQ5What are the implications of the generating function $\left(\sum f(s)x^s\right)^k$ for deriving congruences in $\mathbb{Z}/p\mathbb{Z}$?

Key findings

  • The number of f-weighted integer compositions with $k$ parts, $\binom{k}{n}_f$, satisfies a generalized Glaisher congruence: for prime $p \equiv 1 \pmod{m}$, $\binom{k+p-1}{r}_{m,f} \equiv \binom{k}{r}_{m,f} \pmod{p}$.
  • For $f(s) = 0$ for almost all $s$, the row sum $\binom{k}{0}_{1,f} = \sum_{s\geq 0} f(s)^k$ satisfies $\binom{k}{0}_{1,f} \equiv M \pmod{2}$, where $M = \sum_{s\geq 0} f(s)$, generalizing the parity of binomial row sums.
  • The paper proves that if $n > 1$ is prime, then $m$ divides $\binom{m}{n-2m}_f$ for all $m$ with $0 \leq 2m \leq n$, under the condition $f(0) = f(1) = 1$.
  • Conversely, if $n$ is composite and even, then $\binom{n/2}{0}_f = f(0)^{n/2} = 1$, so $m = n/2$ does not divide $\binom{m}{n-2m}_f$, invalidating the criterion.
  • For odd composite $n$, choosing $m = (n-p)/2$ with $p$ a prime divisor of $n$ leads to $\binom{m}{n-2m}_f = \binom{pr}{p}_f$, and under the given conditions, $\binom{pr}{p}_f \not\equiv 0 \pmod{pr}$, showing the criterion fails.
  • The primality criterion is theoretically valid but computationally impractical, as verifying divisibility of $\binom{m}{n-2m}_f$ by $m$ requires similar effort to Wilson’s theorem-based tests.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.