Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A076791
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A076791 Triangle a(n,k) giving number of binary sequences of length n containing k subsequences 00. +0
2
1, 2, 3, 1, 5, 2, 1, 8, 5, 2, 1, 13, 10, 6, 2, 1, 21, 20, 13, 7, 2, 1, 34, 38, 29, 16, 8, 2, 1, 55, 71, 60, 39, 19, 9, 2, 1, 89, 130, 122, 86, 50, 22, 10, 2, 1, 144, 235, 241, 187, 116, 62, 25, 11, 2, 1, 233, 420, 468, 392, 267, 150, 75, 28, 12, 2, 1, 377, 744, 894, 806, 588, 363, 188, 89, 31, 13, 2, 1 (list; graph; listen)
OFFSET

0,2

COMMENT

The triangle of numbers of n-sequences of 0,1 with k subsequences of consecutive 01 is A034867 because this number is C(n+1,2*k+1). I have not yet found a formula for subsequences 00.

The problem is equivalent to one encountered by David W. Wilson, Dept of Geography, University of Southampton, UK, in his work on Markov models for rainfall disaggregation. He asked for the number of ways in which there can be k instances of adjacent rainy days in a period of n consecutive days. Representing a rainy day by 0 and a fine day by 1, the problem is equivalent to that solved by this sequence. - E. Keith Lloyd (ekl(AT)soton.ac.uk), Nov 29 2004

Row n (n>=1) contains n terms.

REFERENCES

L. Carlitz and R. Scoville, Zero-one sequences and Fibonacci numbers, Fibonacci Quarterly, 15 (1977), 246-254.

FORMULA

Recurrence: a(n, k) = (a(n-1, k) + a(n-2, k))+(a(n-3, k-1)+a(n-4, k-2)+...+a(n-k-2, 0)). Special values: a(n, 0)=Fibonacci(n+1); a(n, n-1) = 1 for n >= 2; a(n, n-2)=2 for n>=3; a(n, n-3)=n+1 for n>=4, etc.

a(n, n-4)=3n-5 for n>=5, a(n, n-5)=(n^2+5n-26)/2 for n>=6, a(n, n-6)=2n^2-8n-4, for n>=7 etc. Recurrence relation: a(n+1, k)=a(n, k)+a(n-1, k)+a(n, k-1)-a(n-1, k-1) for k>=1, n>=1. Generating function: a(n, k) is coefficient of x^n in {[x^(k+1)]x[(1-x)^(k-1)]}/[(1-x-x^2)^(k+1)] for k>=1. - E. Keith Lloyd (ekl(AT)soton.ac.uk), Nov 29 2004

G.f.=G(t,x)=[1+(1-t)x]/[1-(1+t)x-(1-t)x^2]. [Carlitz-Scoville] - Emeric Deutsch (deutsch(AT)duke.poly.edu), May 19 2006

EXAMPLE

a(5, 2)=6 because the binary sequences of length 5 with 2 subsequences 00 are 10001, 11000, 01000, 00100, 00010, 00011.

Triangle begins

1;

2;

3,1;

5,2,1;

8,5,2,1;

13,10,6,2,1;

CROSSREFS

Cf. a(n, 1)=A001629, a(n, 2)=A055243.

Sequence in context: A053815 A066909 A095195 this_sequence A075014 A086686 A021816

Adjacent sequences: A076788 A076789 A076790 this_sequence A076792 A076793 A076794

KEYWORD

nonn,tabf

AUTHOR

Roger Cuculiere (cuculier(AT)imaginet.fr), Nov 16 2002

EXTENSIONS

More terms from E. Keith Lloyd (ekl(AT)soton.ac.uk), Nov 29 2004

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research