Stay ahead of learning milestones! Enroll in a class over the summer!

G
Topic
First Poster
Last Poster
No topics here!
Calculating combinatorial numbers
lgx57   5
N Mar 30, 2025 by generatingFraction
Try to simplify this expression:

$$\sum_{i=1}^n \sum_{j=1}^i C_{n}^i C_{n}^j$$
5 replies
lgx57
Mar 30, 2025
generatingFraction
Mar 30, 2025
Calculating combinatorial numbers
G H J
G H BBookmark kLocked kLocked NReply
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lgx57
14 posts
#1
Y by
Try to simplify this expression:

$$\sum_{i=1}^n \sum_{j=1}^i C_{n}^i C_{n}^j$$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
alexheinis
10543 posts
#2 • 1 Y
Y by MihaiT
We have $s=\sum_{k=1}^n\sum_{l=1}^k {n\choose k}{n\choose l}=\sum_{l=1}^n \sum_{k=l}^n {n\choose k}{n\choose l}=\sum_{k=1}^n \sum_{l=k}^n {n\choose k}{n\choose l}$.
Hence $2s=\sum_{k=1}^n {n\choose k}^2+\sum_{k=1}^n \sum_{l=1}^n {n\choose k}{n\choose l}={{2n}\choose n}-1+(2^n-1)^2$.

@generatingFraction: welcome to AOPS. To use latex just put the formulas within $-signs. It might not work for new members but it will afterwards.
This post has been edited 2 times. Last edited by alexheinis, Mar 30, 2025, 9:34 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lgx57
14 posts
#3
Y by
alexheinis wrote:
We have $s=\sum_{k=1}^n\sum_{l=1}^k {n\choose k}{n\choose l}=\sum_{l=1}^n \sum_{k=l}^n {n\choose k}{n\choose l}=\sum_{k=1}^n \sum_{l=k}^n {n\choose k}{n\choose l}$.
Hence $2s=\sum_{k=1}^n {n\choose k}^2+\sum_{k=1}^n \sum_{l=1}^n {n\choose k}{n\choose l}={{2n}\choose n}-1+(2^n-1)^2$.

Why is $\sum_{k=1}^n {n\choose k}^2={{2n} \choose n}-1$?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
generatingFraction
5 posts
#4
Y by
You have 2n balls, calculate the numbers to choose n balls. It is the sum of choosing k in the first n balls and choosing n - k in the last n balls.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
generatingFraction
5 posts
#5
Y by
Also you can use generating function.
[x ^ k] (1 + x) ^ n = \binom{ n }{ k }
So \sum_{k = 1} ^ n \binom{ n }{ k } * \binom{ n }{ n - k } = [x ^ n] (1 + x) ^ {2n} = \binom{ 2n }{ n }
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
generatingFraction
5 posts
#6
Y by
By the way, how do your guys edit math formula ? The system showed new users can't send image.
Z K Y
N Quick Reply
G
H
=
a