0
458views
Find the generating function for the following finite sequence.

1] 2,2,2,2,2- - - - -

$\sum^5_n=0$ $(2)^n x^n = 2^0 x^0 + 2^1 x^1 + 2^2 x^2 + 2^3 x^3 + 2^4 x^4 + 2^5 x^5$

2] 1,1,1,1,1,1,

$\sum^5_n=0$ $(1)^n x^n = 1 + x + x^2 + x^3 + x^4 + x^5 = \frac{1}{1-x}$

Please log in to add an answer.