Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A077999
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A077999 Expansion of (1-x)/(1-2*x-2*x^3). +0
1
1, 1, 2, 6, 14, 32, 76, 180, 424, 1000, 2360, 5568, 13136, 30992, 73120, 172512, 407008, 960256, 2265536, 5345088, 12610688, 29752448, 70195072, 165611520, 390727936, 921846016, 2174915072, 5131286016, 12106264064, 28562358272, 67387288576, 158987105280 (list; graph; listen)
OFFSET

0,3

COMMENT

a(n) = number of permutations on [n] that avoid nonconsecutive instances of the patterns 321 and 312. For example, a(4) does not count pi=4231 because 431 forms a 321 pattern in pi but 431 is not a consecutive (that is, contiguous) string in pi; also, the first 3 letters form a 312 pattern but that's not disqualifying because they do occur consecutively. Counting these permutations by various statistics yields the listed formulas/recurrences. - David Callan (callan(AT)stat.wisc.edu), Oct 26 2006

FORMULA

a[n] = 2(a[n-1] + a[n-3]) counts the above permutations by first entry. a[n] = a[n-1] + a[n-2] + 3*Sum[a[k],{k,0,n-3}] counts by last entry. a[n] = 2^(n-1) + Sum[2^(n-2-k)a[k],{k,0,n-3}] counts by location of first 3xx pattern. a[n] = Sum[(n-k)/(n-2k)binomial[n-2k,k]2^(n-2k-1),{k,0,Floor[n/3]}] counts by number of 3xx patterns. - David Callan (callan(AT)stat.wisc.edu), Oct 26 2006

CROSSREFS

Sequence in context: A065495 A131352 A051485 this_sequence A110524 A083404 A089351

Adjacent sequences: A077996 A077997 A077998 this_sequence A078000 A078001 A078002

KEYWORD

nonn

AUTHOR

njas, Nov 17 2002

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 September 5 19:27 EDT 2008. Contains 143485 sequences.


AT&T Labs Research