The Gateway to Computer Science Excellence
0 votes
85 views
Is a generic solution possible to this problem
in Mathematical Logic by (77 points) | 85 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)
0
yes, generating function is one of the possible generic solution.

Similar examples are in this ref

http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-042j-mathematics-for-computer-science-fall-2005/readings/ln11.pdf
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,737 questions
57,385 answers
198,557 comments
105,368 users