A086090 2^n+n3^n.
1, 5, 22, 89, 340, 1247, 4438, 15437, 52744, 177659, 591514, 1950665, 6381388, 20734391, 66977950, 215266373, 688813072, 2195513843, 6973830946, 22083492161, 69736736596, 219669514415, 690387505702, 2165301501629
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (8,-21,18).
Crossrefs
Cf. A086091.
Programs
-
Mathematica
Table[2^n+n*3^n,{n,0,30}] (* or *) LinearRecurrence[{8,-21,18},{1,5,22},30] (* Harvey P. Dale, Jun 06 2017 *)
Formula
G.f.: (1-3x+3x^2)/((1-2x)(1-3x)^2)
Comments