A343291 a(n) = (n-2)*2^(n-1) + n + 2.
1, 2, 4, 9, 22, 55, 136, 329, 778, 1803, 4108, 9229, 20494, 45071, 98320, 213009, 458770, 983059, 2097172, 4456469, 9437206, 19922967, 41943064, 88080409, 184549402, 385875995, 805306396, 1677721629, 3489660958, 7247757343, 15032385568, 31138512929, 64424509474
Offset: 0
Links
- Alois P. Heinz, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (6,-13,12,-4).
Programs
-
Maple
a:= n-> (n-2)*2^(n-1)+n+2: seq(a(n), n=0..35);
Formula
G.f.: -(x^3-5*x^2+4*x-1)/((2*x-1)^2*(x-1)^2).
Comments