login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A323959
Number of defective (binary) heaps on n elements with exactly three defects.
2
0, 3, 28, 250, 1760, 12502, 82880, 576060, 4200960, 29987760, 239978112, 1744142400, 15361632000, 119854864800, 1159352230400, 9698664271680, 103688467983360, 906866458156800, 10282952826685440, 97685444140416000, 1224926383944806400, 11906083013106585600
OFFSET
3,2
COMMENTS
Or number of permutations p of [n] having exactly three indices i in {1,...,n} such that p(i) > p(floor(i/2)).
LINKS
Eric Weisstein's World of Mathematics, Heap
Wikipedia, Binary heap
CROSSREFS
Column k=3 of A306343.
Cf. A056971.
Sequence in context: A172241 A321438 A341926 * A321385 A037777 A037665
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Feb 09 2019
STATUS
approved