Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A124188
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A124188 A permutation of the integers {1,2,....,n} is k-good if each of the k! patterns on k integers is contained as a subsequence of the permutation. For example, with k=2, there are n!-2 permutations that contain both a "12" and a "21" pattern. Sequence lists the number of 3-good permutations on {1,2,...,n}, i.e. permutations that contain each of the six patterns {123,132,213,231,312,321}. +0
1
0, 0, 0, 0, 2, 218, 3070, 32972, 336196, 3533026 (list; graph; listen)
OFFSET

1,5

FORMULA

For n >= 5, a(n)= n! - (6{2n choose n}/(n+1)) + 10(2^{n-1}) + 4{n choose 2} - 14n - 2F_{n+1} + 20, where F_n is the Fibonacci sequence

CROSSREFS

Sequence in context: A078280 A125058 A101393 this_sequence A078276 A117076 A037057

Adjacent sequences: A124185 A124186 A124187 this_sequence A124189 A124190 A124191

KEYWORD

nonn

AUTHOR

Nicole Holder, David Simpson and Anant Godbole (tertsu(AT)gmail.com), Dec 06 2006

page 1

Search completed in 0.004 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 November 25 14:49 EST 2009. Contains 167514 sequences.


AT&T Labs Research