How can we prove this = 1 for all n

37 Views Asked by At

$\displaystyle n!-\sum_{k=1}^{n-1}k\cdot k!$

By computing this by hand for several small values of $n$ I can see that it is always equal to 1. But I can't see how to prove that.

2

There are 2 best solutions below

1
On BEST ANSWER

Use induction. For $n=1$ this is trivial. If the result holds for $n$, then $$(n+1)!-\sum_{k=1}^n k\cdot k! = (n+1)n!-n\cdot n!-\sum_{k=1}^{n-1} k\cdot k!=n!-\sum_{k=1}^{n-1} k\cdot k!=1$$ thus the result holds for all positive integers.

0
On

Hint: $k\cdot k! = (k+1)! - k!$