A Fast Algorithm for Denumerants with Three Variables
Abstract
Let a,b,c be distinct positive integers such that a<b<c and (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 ax1+bx2+cx3=n in non-negative integers x1,x2,x3. We present an algorithm that computes d(n;a,b,c) with a time complexity of O( b).
0
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.