Recurrences & Generating Functions

Your answer
Answer & solution
Official answer: D
Method
Start from Σxn=1/(1−x). Differentiate to obtain Σn xn−1=1/(1−x)² and multiply by x. Linearity now separates the 2n part from the constant 3 part. Combining over one denominator gives numerator 2x+3(1−x)=3−x. A quick constant-term check requires value a0=3 at x=0, already ruling out B and C.
Solution
The ordinary generating function is sum(2n+3)xn=2x/(1−x)²+3/(1−x)=(3−x)/(1−x)², D, as a formal power series or for |x|<1.