|
|
A167910
|
|
a(n) = (4*3^n - 5*2^n + (-2)^n)/20.
|
|
1
|
|
|
0, 0, 1, 3, 13, 39, 133, 399, 1261, 3783, 11605, 34815, 105469, 316407, 953317, 2859951, 8596237, 25788711, 77431669, 232295007, 697147165, 2091441495, 6275373061, 18826119183, 56482551853, 169447655559, 508359743893, 1525079231679, 4575304803901, 13725914411703
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
COMMENTS
|
a(n+1) - 3a(n) = 0,1,0,4,0,16,0,64,.. is an "aerated" version of A000302.
|
|
LINKS
|
|
|
FORMULA
|
a(2*n+1) = 3*a(2*n).
a(n) = 3*a(n-1) + 4*a(n-2) - 12*a(n-3).
|
|
MATHEMATICA
|
LinearRecurrence[{3, 4, -12}, {0, 0, 1}, 40] (* Harvey P. Dale, Mar 29 2015 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Replaced definition by Lava formula of Nov 26 2009. Removed comments about unrelated sequences. - R. J. Mathar, Feb 27 2010
|
|
STATUS
|
approved
|
|
|
|