# The Principle of Inclusion Exclusion - Part 1

Thanks to all of you who support me on Patreon. You da real mvps! \$1 per month helps!! :) https://www.patreon.com/patrickjmt !! Thanks to all of you who support me on Patreon. You da real mvps! \$1 per month helps!! :) https://www.patreon.com/patrickjmt !! Part 2 https://www.youtube.com/edit?o=U&video_id=y9123Dx6cJA
In this video, I start discussing the principle of inclusion exclusion used in discrete mathematics. I start with a simple example using two sets and then proceed to derive the formula for 3 sets.
In the next video I will prove the formula and then go on to more examples.
This video is geared towards those in higher mathematics so it is a bit more technical than what some may want!

## This site provides links to random videos hosted at YouTube, with the emphasis on random.

The original idea for this site actually stemmed from another idea to provide a way of benchmarking the popularity of a video against the general population of YouTube videos. There are probably sites that do this by now, but there wasn’t when we started out. Anyway, in order to figure out how popular any one video is, you need a pretty large sample of videos to rank it against. The challenge is that the sample needs to be very random in order to properly rank a video and YouTube doesn’t appear to provide a way to obtain large numbers of random video IDs.

Even if you search on YouTube for a random string, the set of results that will be returned will still be based on popularity, so if you’re using this approach to build up your sample, you’re already in trouble. It turns out there is a multitude of ways in which the YouTube search function makes it very difficult to retrieve truly random results.

So how can we provide truly random links to YouTube videos? It turns out that the YouTube programming interface (API) provides additional functions that allow the discovery of videos which, with the right approach, are much more random. Using a number of tricks, combined some subtle manipulation of the space-time fabric, we have managed to create a process that yields something very close to 100% random links to YouTube videos.