OFFSET
0,2
COMMENTS
The sequence can be defined as the row sums of the triangle T(n,k)
.1;
.3,.2;
.3,.6,.4;
.9,.6,12,.8;
.9,18,12,24,16;
27,18,36,24,48,32;
with left column A162436, diagonal the powers of 2, and the recurrence T(n+2,k) = 3*T(n,k).
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,3,-6).
FORMULA
a(n+1) - 2*a(n) = A162436(n+2).
a(n) = 2*a(n-1) + 3*a(n-2) - 6*a(n-3).
G.f.: (1+3*x)/((2*x-1) * (3*x^2-1)). - R. J. Mathar, Feb 27 2010
MATHEMATICA
LinearRecurrence[{2, 3, -6}, {1, 5, 13}, 40] (* Harvey P. Dale, Oct 03 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Nov 10 2009
EXTENSIONS
Replaced cross-references by link to the index - R. J. Mathar, Feb 27 2010
STATUS
approved