Counting Reservoirs in Permutations

By Aurora Hiveley and Doron Zeilberger


.pdf   


Written: Nov. 2026


We extend the beautiful paper of Aubrey Blecher and Arnold Knopfmacher, that found a nice explicit formula for the expectation of the number of reservoirs in an n-permutation, to efficiently get the full weight-enumerators that quickly enables us to find higher moments.


Maple package


Sample Input and Output for RESERVOIRS.txt



Articles of Doron Zeilberger

Doron Zeilberger's Home Page

Aurora Hiveley's Home Page