Video Compression

VideoNerd

This paper was inspired from The Erdős–Szekeres Theorem

 

Erdos-Szekeres Theorem (in a limited form):

Any sequence of distinct real numbers with the length NxN+1 contains a monotonically increasing subsequence of length N+1 or a monotonically decreasing subsequence of length N+1

Example

any sequence of 10 distinct integers (N=3) contains either ascending or descending subsequence of length at least 4.

With Python loop

for _ in range(10):
v=random.randint(1,100)
print v

i generated 10 random distinct integer from the range [1..100]:

62,55,13,26,83,74,50,6,58,100

the ascending subsequence of length 4  is 13,26,50,58

Application:

Let’s suppose you take a sample of size NxN+1 (e.g. people) and measure two parameters X and Y (e.g. height and IQ). Let’s suppose that all  Xs are distinct and all Ys are also distinct.

Let’s sort our sample of  NxN+1 elements in ascendig order by X (remind all Xs are different).

Then there exists a subsequence of length N+1  (or the sequence of indices {i1,i2,…,iN+1) such that

either

X_i1 < X_i2 < …< X_iN+1
Y_i1 < Y_i2 < …< Y_iN+1

or

X_i1 < X_i2 < …< X_iN+1
Y_i1 > Y_i2 > …> Y_iN+1

 

13 Responses

  1. Can I just say what a relief to find someone who actually knows what theyre talking about on the internet. You definitely know how to bring an issue to light and make it important. More people need to read this and understand this side of the story. I cant believe youre not more popular because you definitely have the gift.

  2. This design is incredible! You definitely know how to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Excellent job. I really loved what you had to say, and more than that, how you presented it. Too cool!

Leave a Reply

Your email address will not be published. Required fields are marked *