|
Search: id:A077865
|
|
|
| A077865 |
|
Expansion of (1-x)^(-1)/(1-x-2*x^2+x^3). |
|
+0 3
|
|
| 1, 2, 5, 9, 18, 32, 60, 107, 196, 351, 637, 1144, 2068, 3720, 6713, 12086, 21793, 39253, 70754, 127468, 229724, 413907, 745888, 1343979, 2421849, 4363920, 7863640, 14169632, 25532993, 46008618, 82904973, 149389217, 269190546, 485064008, 874055884, 1574993355
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
COMMENT
|
a(n-1)=R(n) for n>=1, where R(n) is the number of 01-words of length n in which all runlengths of 1's are odd. Example: R(3) counts 001,010,100,101,111. - Clark Kimberling (ck6(AT)evansville.edu), Jun 26 2004
|
|
REFERENCES
|
C. Kimberling, "Binary words with restricted repetitions and associated compositions of integers," preprint.
|
|
FORMULA
|
a(n)=a(n-1)+2a(n-2)-a(n-3)+1 for n>=3. a(n)=2a(n-1)+a(n-2)-3a(n-3)+a(n-4) for n>=4. - Clark Kimberling (ck6(AT)evansville.edu), Jun 26 2004
|
|
CROSSREFS
|
Sequence in context: A091356 A107705 A002883 this_sequence A117353 A103422 A097281
Adjacent sequences: A077862 A077863 A077864 this_sequence A077866 A077867 A077868
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com), Nov 17 2002
|
|
|
Search completed in 0.002 seconds
|