WolframAlpha computational knowledge AI
(n!) / (p) sum_(j = 0)^(p - 1) (j + 1) - p + n n!