Generating functions for giant graviton bound states