login
A083595
a(n) = (7*2^n - 4(-1)^n)/3.
5
1, 6, 8, 20, 36, 76, 148, 300, 596, 1196, 2388, 4780, 9556, 19116, 38228, 76460, 152916, 305836, 611668, 1223340, 2446676, 4893356, 9786708, 19573420, 39146836, 78293676, 156587348, 313174700, 626349396, 1252698796, 2505397588
OFFSET
0,2
COMMENTS
Binomial transform of A083594.
FORMULA
a(n) = (7*2^n - 4(-1)^n)/3 .
G.f.: (1+5*x)/((1-2*x)*(1+x)).
E.g.f.: (7*exp(2*x) - 4*exp(-x))/3.
MATHEMATICA
LinearRecurrence[{1, 2}, {1, 6}, 40] (* Harvey P. Dale, Aug 13 2019 *)
PROG
(Magma) [(7*2^n-4*(-1)^n)/3: n in [0..40]]; // Vincenzo Librandi, Apr 28 2011
CROSSREFS
Cf. A082541.
Sequence in context: A105775 A159469 A096524 * A064840 A306379 A243932
KEYWORD
easy,nonn
AUTHOR
Paul Barry, May 02 2003
STATUS
approved