multifactorial4(N,D) = N*multifactorial4(N-D,D).