OFFSET
0,3
LINKS
Robert Israel, Table of n, a(n) for n = 0..3318
Index entries for linear recurrences with constant coefficients, signature (2,3,-6).
FORMULA
MAPLE
seq(2^n - (1 - (-1)^n)*3^((n-1)/2), n=0..100); # Robert Israel, Apr 11 2019
MATHEMATICA
LinearRecurrence[{2, 3, -6}, {1, 0, 4}, 40] (* Harvey P. Dale, Nov 29 2011 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Nov 12 2009
EXTENSIONS
Edited and extended by R. J. Mathar, Feb 27 2010
Incorrect b-file corrected by Robert Israel, Apr 11 2019
STATUS
approved