The Gateway to Computer Science Excellence
0 votes
Is a generic solution possible to this problem
in Mathematical Logic by (77 points) | 84 views

1 Answer

+2 votes

Here we are interested in knowing number of solutions to the following integral equation problem:

$W + R + G = K$, where W, R, G represent number of white, red and green balls respectively, such that,

$0 \leq W \leq A$, $0 \leq R \leq B$, $0 \leq G \leq C$

Please refer this article (after example 3) for the general formula

I would like to know if there is any other reference for this though.

by Active (1.8k points)
yes, generating function is one of the possible generic solution.

Similar examples are in this ref
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,741 questions
57,251 answers
104,693 users