login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A139782
Binomial transform of A077947.
0
1, 2, 5, 15, 46, 139, 417, 1250, 3749, 11247, 33742, 101227, 303681, 911042, 2733125, 8199375, 24598126, 73794379, 221383137, 664149410, 1992448229, 5977344687, 17932034062, 53796102187, 161388306561, 484164919682, 1452494759045
OFFSET
0,2
FORMULA
a(n) = 3*a(n-1)-a(n-3)+3*a(n-4).
O.g.f.: -(1-x)^2/((3*x-1)*(x^2-x+1)). a(n) = (4*3^n+3*A010892(n)-A010892(n-1))/7. - R. J. Mathar, May 18 2008
MATHEMATICA
LinearRecurrence[{3, 0, -1, 3}, {1, 2, 5, 15}, 30] (* Harvey P. Dale, Jan 12 2019 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, May 16 2008
EXTENSIONS
More terms from R. J. Mathar, May 18 2008
STATUS
approved