Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A099172
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A099172 Array T(m,n) read by antidiagonals: binary strings with m 1's and n 0's without zigzags. +0
2
1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 4, 2, 1, 1, 2, 5, 5, 2, 1, 1, 2, 6, 8, 6, 2, 1, 1, 2, 7, 11, 11, 7, 2, 1, 1, 2, 8, 14, 18, 14, 8, 2, 1, 1, 2, 9, 17, 26, 26, 17, 9, 2, 1, 1, 2, 10, 20, 35, 42, 35, 20, 10, 2, 1, 1, 2, 11, 23, 45, 62, 62, 45, 23, 11, 2, 1, 1, 2, 12, 26, 56, 86, 100, 86 (list; table; graph; listen)
OFFSET

0,5

LINKS

E. Munarini and N. Z. Salvi, Binary strings without zigzags

FORMULA

G.f.: (1 + xy + x^2y^2)/(1 - x - y + xy - x^2y^2).

T(m, n) = Sum{k=0..min(m+[m/2], n+[n/2]), C(m-k+2[k/3], [k/3])*C(n-k+2[k/3], [k/3]) }.

EXAMPLE

1,1,1,1,1,1,1,1,

1,2,2,2,2,2,2,2,

1,2,4,5,6,7,8,9,

1,2,5,8,11,14,17,20,

1,2,6,11,18,26,35,45,

1,2,7,14,26,42,62,86,

1,2,8,17,35,62,100,150,

1,2,9,20,45,86,150,242,

PROGRAM

(PARI) T(m, n)=sum(k=0, min(m+m\2, n+n\2), binomial(m-k+2*(k\3), k\3)*binomial(n-k+2*(k\3), k\3))

CROSSREFS

Main diagonal is A078678. Antidiagonal sums are essentially A006355.

Sequence in context: A144464 A138015 A103444 this_sequence A152719 A107044 A141591

Adjacent sequences: A099169 A099170 A099171 this_sequence A099173 A099174 A099175

KEYWORD

nonn,tabl

AUTHOR

Ralf Stephan, Oct 10 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 December 7 23:50 EST 2009. Contains 170430 sequences.


AT&T Labs Research