|
Search: id:A052551
|
|
|
| A052551 |
|
A simple regular expression. |
|
+0 7
|
|
| 1, 1, 3, 3, 7, 7, 15, 15, 31, 31, 63, 63, 127, 127, 255, 255, 511, 511, 1023, 1023, 2047, 2047, 4095, 4095, 8191, 8191, 16383, 16383, 32767, 32767, 65535, 65535, 131071, 131071, 262143, 262143, 524287, 524287, 1048575, 1048575, 2097151, 2097151
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
COMMENT
|
Equals row sums of triangle A137865. - Gary W. Adamson (qntmpkt(AT)yahoo.com), Feb 18 2008
|
|
LINKS
|
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 488
|
|
FORMULA
|
G.f.: 1/(-1+2*x^2)/(-1+x)
Recurrence: {a(1)=1, a(0)=1, -2*a(n)-1+a(n+2)}
-1+Sum(1/2*(1+2*_alpha)*_alpha^(-1-n), _alpha=RootOf(-1+2*_Z^2))
a(n)=A016116(n+2)-1. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jun 15 2009]
|
|
MAPLE
|
spec := [S, {S=Prod(Sequence(Prod(Z, Union(Z, Z))), Sequence(Z))}, unlabeled]: seq(combstruct[count](spec, size=n), n=0..20);
|
|
MATHEMATICA
|
a=0; b=1; lst={b}; Do[c=a+b-(b-a-1); AppendTo[lst, c]; a=b; b=c, {n, 5!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Mar 23 2009]
|
|
CROSSREFS
|
Cf. A136865.
Sequence in context: A147449 A086530 A147402 this_sequence A147096 A147252 A147104
Adjacent sequences: A052548 A052549 A052550 this_sequence A052552 A052553 A052554
|
|
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
|