Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A076616
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A076616 Number of permutations of {1,2,...,n} that result in a binary search tree (when elements of the permutation are inserted in that order) of height n-1 (i.e. the second largest possible height). +0
2
0, 0, 2, 16, 64, 208, 608, 1664 (list; graph; listen)
OFFSET

1,3

EXAMPLE

a(3) = 2 because only the permutations 1 2 3 and 3 2 1 result in result in a search tree of height 2 (notice we count empty external nodes in determining the height). The largest such trees are of height 3.

CROSSREFS

Sequence in context: A123791 A152665 A061608 this_sequence A127276 A110048 A094505

Adjacent sequences: A076613 A076614 A076615 this_sequence A076617 A076618 A076619

KEYWORD

nonn

AUTHOR

Jeffrey Shallit (shallit(AT)graceland.uwaterloo.ca), Oct 22 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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research