Determining the Number of Solutions Using Generating Functions

  • Thread starter Thread starter alec_tronn
  • Start date Start date
  • Tags Tags
    Functions
Click For Summary
SUMMARY

The discussion focuses on determining the number of non-negative integer solutions to the equation a + 2b + 4c = 1030 using generating functions. The generating function identified is f(x) = 1/[(1-x4)(1-x2)(1-x)]. The user attempts to derive an explicit formula by decomposing the generating function using Mathematica's Apart function, resulting in several infinite series. The coefficients calculated from these series suggest an incorrect negative result, indicating a potential error in the approach or calculations.

PREREQUISITES
  • Understanding of generating functions in combinatorics
  • Familiarity with infinite series and their coefficients
  • Proficiency in using Mathematica for symbolic computation
  • Basic knowledge of algebraic manipulation and calculus
NEXT STEPS
  • Review the concept of generating functions and their applications in combinatorial problems
  • Learn how to use Mathematica's Apart function effectively for function decomposition
  • Study techniques for extracting coefficients from power series
  • Explore error-checking methods in combinatorial calculations to identify mistakes
USEFUL FOR

Mathematics students, combinatorial theorists, and anyone interested in solving integer partition problems using generating functions.

alec_tronn
Messages
29
Reaction score
0

Homework Statement


Determine the number of solutions in nonegative intergers to the equation:
a + 2b + 4c = 10^{30}


Homework Equations


The generating function I've found is f(x) = 1/[(1-x^{4})(1-x^{2})(1-x)]


The Attempt at a Solution



I'm pretty sure I need to get from here to an explicit formula, but I'm not sure how to start. Any hints to get me started on this one?
 
Physics news on Phys.org
Alright, using the Apart function in Mathematica, I separated the generating function into:

[-1/(8(-1+x)^3)] + [1/(4(-1+x)^2)]- [9/(32(-1+x))]+ [1/(16(1+x)^2)]+ [5/(32(1+x))]+ [(1+x)/(8(1+x^2))]

Then, I turned those each into the followings infinite series:
[(-1/2)\Sigma(n+1)x^n][(1\2)\Sigmax^n], so the coefficient for 10^30 is -1\4[((10^30)/2) +1],

(-1\2)\Sigma(n+1)x^n, so the coefficient is -1\2(10^30+1)

(9\30)\Sigmax^n, so the coefficient is 9\32

(1\4)\Sigma(n+1)(-x)^n, so the coefficient is (1\4)(10^30+1)

(5\32)\Sigma(-x)^n, so the coefficient is 5\32

(1\8)\Sigmax^(2n+1), so the coefficient is 1\8,

I add up all the coefficients is (-1\2)((10^30)+1)+(1\2)

Thats negative, so it can't be the answer. I'm awfully rusty in the Calc 2 skills of making functions like that into series... so if anybody could catch any of my mistakes I'd be forever grateful!
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K