login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A273755 Number of binary min heaps on [n] that give a max heap when reversed. 1
1, 1, 1, 1, 2, 3, 5, 11, 26, 55, 214, 547, 1802, 6579, 22446, 77170, 401150, 1509788, 7198829, 36540168 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
Or number of binary max heaps on [n] that give a min heap when reversed.
LINKS
Eric Weisstein's World of Mathematics, Heap
Wikipedia, Binary heap
EXAMPLE
a(4) = 2: 1234, 1324.
a(5) = 3: 12345, 12435, 13245.
a(6) = 5: 123456, 123546, 124356, 132456, 132546.
a(7) = 11: 1234567, 1234657, 1235467, 1243567, 1243657, 1245367, 1253467, 1254367, 1324567, 1324657, 1325467.
CROSSREFS
Sequence in context: A000628 A358554 A369495 * A258804 A006888 A009589
KEYWORD
nonn,more
AUTHOR
Alois P. Heinz, May 29 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:53 EDT 2024. Contains 371964 sequences. (Running on oeis4.)