English

A Fast Algorithm for Denumerants with Three Variables

Combinatorics 2026-04-13 v1 Number Theory

Abstract

Let a,b,ca,b,c be distinct positive integers such that a<b<ca<b<c and gcd(a,b,c)=1\gcd(a,b,c)=1. For any non-negative integer nn, the denumerant function d(n;a,b,c)d(n;a,b,c) denotes the number of solutions of the equation ax1+bx2+cx3=nax_1+bx_2+cx_3=n in non-negative integers x1,x2,x3x_1,x_2,x_3. We present an algorithm that computes d(n;a,b,c)d(n;a,b,c) with a time complexity of O(logb)O(\log b).

Keywords

Cite

@article{arxiv.2406.18955,
  title  = {A Fast Algorithm for Denumerants with Three Variables},
  author = {Feihu Liu and Guoce Xin},
  journal= {arXiv preprint arXiv:2406.18955},
  year   = {2026}
}

Comments

12 pages