I recently saw a post from OpenCulture. I wrote a few lines of C++ code to search for four numbers less than 144 whose fifth powers sum up to , namely However, the shortest proof of an important result in my opinion is this one, even if there were no mathematical journals in Pythagoras’ time. Do […]

Suppose there is an underlying 1 dimensional histogram stored in the cloud. As a concrete example, consider the distribution of bank deposits (x-axis is the amount of dollars, and the y-axis is the count of accounts). For simplicity let’s assume that all the amounts of money deposited are integers within the range . The histogram is queried by […]

Let  be independent uniform random variables from , and consider the random variable . Computing the expectation is a routine computation: . However, there a slick way of computing this expectation. Let be another uniform random variable in . Consider the probability . On the one hand due to symmetry, it is equal to , on […]