Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

**tony123****Member**- Registered: 2007-08-03
- Posts: 189

How many integral solutions does the equation

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 82,980

Hi tony123;

To answer this you use generating functions. There are other ways but this is my favorite.

This can be modelled as the polynomial expansion of

with 0<= a,b,c,<=9

The coefficient of x^9 is the answer. We see that it is 55. So there are 55 solutions.

**In mathematics, you don't understand things. You just get used to them.I have the result, but I do not yet know how to get it.All physicists, and a good many quite respectable mathematicians are contemptuous about proof.**

Offline

**tony123****Member**- Registered: 2007-08-03
- Posts: 189

Hi bobbym

Try again

|-5|+|-4|+|0|=9

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 82,980

Hi tony123;

Sorry for the slip up in the other post!

This is the new GF. Checking the coefficient of x^9 we see that it is 326. That is the answer.

Here is another way to do it. One that has the weight of authority behind it, The following formula was developed by Polya and Szego in 1926.

The number of solutions of:

is:

So to get p=9 we subtract the two sums:

Same answer as above.

**In mathematics, you don't understand things. You just get used to them.I have the result, but I do not yet know how to get it.All physicists, and a good many quite respectable mathematicians are contemptuous about proof.**

Offline