|
|
A077938
|
|
Expansion of 1/(1-2*x-x^2-2*x^3).
|
|
3
|
|
|
1, 2, 5, 14, 37, 98, 261, 694, 1845, 4906, 13045, 34686, 92229, 245234, 652069, 1733830, 4610197, 12258362, 32594581, 86667918, 230447141, 612751362, 1629285701, 4332217046, 11519222517, 30629233482, 81442123573, 216551925662, 575804441861, 1531045056530
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Number of compositions of n into two sorts of parts 1 and 3, and one sort of parts 2. - Joerg Arndt, May 02 2015
|
|
LINKS
|
|
|
FORMULA
|
a(n)=sum(k=1..n, sum(j=0..k, binomial(j,n-3*k+2*j)* binomial(k,j)*2^(-n+4*k-2*j))), n>0, a(0)=1. [Vladimir Kruchinin, May 05 2011]
|
|
MATHEMATICA
|
|
|
PROG
|
(Maxima) a(n):=sum(sum(binomial(j, n-3*k+2*j)*binomial(k, j)*2^(-n+4*k-2*j), j, 0, k), k, 1, n); // Vladimir Kruchinin, May 05 2011
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|