1. ## Generating Functions help

Hey there everyone, I need some help with this math problem, hoping to get some help on this topic.

Use generating functions to find the number of solutions in integers to the equation a+b+c=30 where each variable is at least 3 and at most 7.

Please explain to me step by step on how to do this so I can understand it better thanks.

2. ## Re: Generating Functions help

Hey gfbrd.

Given your constraints you will never get a solution since your maximum value will be 7+7+7=21 and your minimum will be 3+3+3=9. Did you mean to say something else?

3. ## Re: Generating Functions help

Nope that is how the question is, so there should be some kind of answer
oh and 7+7+7=21 not 24

4. ## Re: Generating Functions help

Thanks for pointing out the error.

Well it sounds like what they want you to do is have two independent random variables with 3 to 7 and then have another random variable which is 30 minus the sum of those two.

The sum of two random variables' distribution can be found with a PGF and this will be based on two uniform distributions of 5 values with same probability for 3 to 7 inclusive.

Then the other variable will be 30 - (X+Y) but 30 is just a special case of a distribution where you have Z - W where Z has a probability density function of P(Z=30) = 1 and the distribution of -W just reflects the distribution around the y-axis.

So can you calculate for a start the PGF for the sum of two uniform random variables (discrete uniform) with values going from 3 to 7 inclusive.

5. ## Re: Generating Functions help

lol sorry im not understanding this
if you dont mind i hope you can make it more simple for me to understand hahaha sorry im slow at this kind of stuff

6. ## Re: Generating Functions help

Let X = Uniform(3,7) and Y = Uniform(3,7) as well. Use the PGF formula to find the probability generating function for X+Y if X,Y are independent.

7. ## Re: Generating Functions help

oh alright I get it now thanks for your help
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8114408850669861, "perplexity": 381.1128930316402}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2017-09/segments/1487501172000.93/warc/CC-MAIN-20170219104612-00420-ip-10-171-10-108.ec2.internal.warc.gz"}