Post Reply 
Summation proof
09-13-2023, 03:20 AM
Post: #4
RE: Summation proof
Hi, rprosperi

The math is an optimization trick used in code. (recursion to iterative sum)
Based on experiments, I was 99% sure it is correct. Prove get the final 1%.

I don't know how to explain beauty of math, but consider the proof, for k=3

\(\displaystyle
\binom{n}{3} \left(
\frac{1}{n} + \frac{1}{n-1} + \frac{1}{n-2}
\right) =
\frac{1}{1}\binom{n}{2} -
\frac{1}{2}\binom{n}{1} +
\frac{1}{3}\binom{n}{0}\)

Why is this even true?
Where is the harmonic series comes from?

Well, harmonic series comes from Psi, derivative of log gamma function.

Eureka! RHS must be \(\displaystyle \frac{d}{dn} \binom{n}{3}\) in disguise. Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Summation proof - Albert Chan - 09-13-2023, 02:11 AM
RE: Summation proof - rprosperi - 09-13-2023, 02:37 AM
RE: Summation proof - Albert Chan - 09-13-2023 03:20 AM
RE: Summation proof - Albert Chan - 09-13-2023, 02:54 AM
RE: Summation proof - Albert Chan - 09-13-2023, 03:52 AM
RE: Summation proof - John Keith - 09-13-2023, 01:44 PM
RE: Summation proof - Albert Chan - 09-13-2023, 07:12 PM
RE: Summation proof - rprosperi - 09-13-2023, 06:49 PM
RE: Summation proof - John Keith - 09-13-2023, 08:15 PM
RE: Summation proof - Maximilian Hohmann - 09-13-2023, 08:35 PM
RE: Summation proof - Albert Chan - 09-13-2023, 11:18 PM
RE: Summation proof - rprosperi - 09-14-2023, 11:53 AM



User(s) browsing this thread: 4 Guest(s)