What is the generating function for generating series 1, 2, 3, 4, 5,… ?
(a) \(\frac{2}{(1-3x)}\)
(b) \(\frac{1}{(1+x)}\)
(c) \(\frac{1}{(1−x)^2}\)
(d) \(\frac{1}{(1-x2)}\)
This question was posed to me during an interview for a job.
My enquiry is from Discrete Probability in portion Discrete Probability of Discrete Mathematics