arXiv · 2406.18955
A Fast Algorithm for Denumerants with Three Variables
Abstract
Let $a,b,c$ be distinct positive integers such that $a<b<c$ and $\gcd(a,b,c)=1$. For any non-negative integer $n$, the denumerant function $d(n;a,b,c)$ denotes the number of solutions of the equation $ax_1+bx_2+cx_3=n$ in non-negative integers $x_1,x_2,x_3$. We present an algorithm that computes $d(n;a,b,c)$ with a time complexity of $O(\log b)$.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Feihu Liu, Guoce Xin. 2024-06-27. A Fast Algorithm for Denumerants with Three Variables. https://doi.org/10.1016/j.jsc.2024.102414
Cite the original work for its findings. Save a collection to share your selection of sources.