|
Search: id:A052931
|
|
|
| A052931 |
|
A simple regular expression. |
|
+0 4
|
|
| 1, 0, 3, 1, 9, 6, 28, 27, 90, 109, 297, 417, 1000, 1548, 3417, 5644, 11799, 20349, 41041, 72846, 143472, 259579, 503262, 922209, 1769365, 3269889, 6230304, 11579032, 21960801, 40967400, 77461435, 144863001, 273351705, 512050438
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
LINKS
|
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 917
|
|
FORMULA
|
G.f.: -1/(-1+3*x^2+x^3)
Recurrence: {a(1)=0, a(0)=1, a(2)=3, a(n)+3*a(n+1)-a(n+3)}
Sum(1/9*(-1+5*_alpha+2*_alpha^2)*_alpha^(-1-n), _alpha=RootOf(-1+3*_Z^2+_Z^3))
a(n)=sum{k=0..floor(n/2), binomial(k, n-2k)3^(3k-n)} - Paul Barry (pbarry(AT)wit.ie), Oct 04 2004
|
|
MAPLE
|
spec := [S, {S=Sequence(Prod(Z, Union(Z, Z, Z, Prod(Z, Z))))}, unlabeled]: seq(combstruct[count](spec, size=n), n=0..20);
|
|
CROSSREFS
|
Adjacent sequences: A052928 A052929 A052930 this_sequence A052932 A052933 A052934
Sequence in context: A105545 A027465 A127552 this_sequence A006803 A019770 A136320
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
|
|
EXTENSIONS
|
More terms from James A. Sellers (sellersj(AT)math.psu.edu), Jun 06 2000
|
|
|
Search completed in 0.002 seconds
|