• Nie Znaleziono Wyników

GENERATING FUNCTIONS

N/A
N/A
Protected

Academic year: 2021

Share "GENERATING FUNCTIONS"

Copied!
1
0
0

Pełen tekst

(1)

1 DISCRETE MATHEMATICS

EXERCISES

PART 4. GENERATING FUNCTIONS. INDUCTION. RECURRENCES.

1. Find generating functions of the following sequences:

a) an= αn, n = 0, 1, 2, . . ., α ∈ R, b) an=

( 1, n = 0, 1, . . . , N,

0, n > N ,

c) an=

( n + 1, n = 0, 1, . . . , N,

0, n > N ,

d) an= αn, n = 0, 1, 2, . . ., α ∈ R, e) an= n2, n = 0, 1, 2, . . .,

f) an= nαn, n = 0, 1, 2, . . ., α ∈ R.

2. Find a generating function F (x) for the sequence An if the generating function f (x) for an is given and:

a) An= an+1, n = 0, 1, 2, . . .,

b) An= an+k, n = 0, 1, 2, . . ., k is a fixed positive integer, c) An= an+1− an, n = 0, 1, 2, . . .,

d) An= n · an, n = 0, 1, 2, . . ., e) An=

( an−1, n = 1, . . . ,

0, n = 0

3. Use generating functions to find an if:

a) an= 6n + an−1, for n ≥ 1 and a0 = 0,

b) an+2 = 2an+1+ 3an for n ≥ 0 and a0 = 1, a1 = 2, c) an= −an−1+ 2an−2 for n ≥ 2 and a0 = 1, a1 = 2.

4. Find a coefficient of x12 in a) (1 + x3+ x6+ x9+ . . .)7, b) (x + x2+ x3+ x4)5, c) x2(1 − x)12.

5. Find a coefficient of x20 in (x + x2+ x3 + x4+ x5)(x2+ x3+ x4+ . . .)5.

6. Use generating functions to find the number of ways to select 10 balls from a large pile of red, white and blue balls if:

a) the selection has at least 2 balls of each color, b) the selection has at least 2 red balls.

7. Find the number of ways to select 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 fruits from a pile of 3 apples, 5 oranges and 2 bananas. (Hint: Use generating functions.)

8. How many ways are there to divide 2 blue, 5 red and 9 white balls into equal unordered piles?

9. Show that:

a) Fn+m = FnFm+ Fn−1Fm−1, b) (Fn)2− Fn+1Fn−1= (−1)n,

where Fn are the Fibonacci numbers.

Cytaty

Powiązane dokumenty

b) Assume that k = 4 and let’s consider events A - ,,there is at least one white ball among those drawn” and B - ,,there remain at least four black balls in the box”. A smartphone

A researcher owning 3 umbrellas walks between his home and office, taking an umbrella with him (provided there is one within reach) if it rains (which happens with probability 1/5),

(4 pts) Find the number of ways to select 8 balls from the set of 5 identical red balls, 3 identical yellow balls and 7 identical green balls.. (4 pts) Use the extended version of

Under the hypotheses Hl and H2 stated in Section 1, the only first passage time problems in the Cartesian coordinate system, for the bidimensional geometric Brownian motion defined

Stachura,, Uniform convexity of the hyperbolic metric and fixed points of holomorphic mappings in the Hilbert ball, Nonlinear Analysis 4 (1980), 1011-1021. [4]

A group of 30 children are surveyed to find out which of the three sports cricket (C), basketball (B) or volleyball (V) they play.. The results are

The presentation will consist of some practice questions on differentiation and tangent lines. Tomasz Lechowski Batory 3IB Studies November 9, 2019 2

State its domain