|
Search: id:A052950
|
|
|
| A052950 |
|
A simple regular expression. |
|
+0 2
|
|
| 2, 1, 3, 4, 9, 16, 33, 64, 129, 256, 513, 1024, 2049, 4096, 8193, 16384, 32769, 65536, 131073, 262144, 524289, 1048576, 2097153, 4194304, 8388609, 16777216, 33554433, 67108864, 134217729, 268435456, 536870913, 1073741824, 2147483649
(list; graph; listen)
|
|
|
OFFSET
|
0,1
|
|
|
LINKS
|
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 1009
|
|
FORMULA
|
G.f.: (x^3-x^2-3*x+2)/(-1+2*x)/(-1+x^2)
Recurrence: {a(1)=1, a(3)=4, a(2)=3, a(0)=2, -2*a(n)-a(n+1)+a(n+2)+1}
2^(n-1)+Sum(1/2*_alpha^(-n), _alpha=RootOf(-1+_Z^2))
E.g.f. : cosh(x)(1+exp(x)); a(n)=(2^n+1+(-1)^n+0^n)/2. - Paul Barry (pbarry(AT)wit.ie), Sep 18 2003
|
|
MAPLE
|
spec := [S, {S=Union(Sequence(Prod(Sequence(Z), Z)), Sequence(Prod(Z, Z)))}, unlabeled ]: seq(combstruct[count ](spec, size=n), n=0..20);
|
|
CROSSREFS
|
Sequence in context: A134876 A019612 A007444 this_sequence A086851 A001054 A099866
Adjacent sequences: A052947 A052948 A052949 this_sequence A052951 A052952 A052953
|
|
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 05 2000
|
|
|
Search completed in 0.002 seconds
|