A telegraphic worked example with n = 4

Here n ! + n - 1 = 24+4-1 = 27, and the base factorial bound is 3!-1, namely 5 (so keep and eye on d[2]*2!+d[1]*1! )