Whether you're a fan of Mike Judge's late-night HBO comedy Silicon Valley or not, you should know it has contributed the greatest dick joke of all time to pop culture. Why? Because it uses math. Watch above and learn, my friends.

The best part? Actor/comedian Kumail Nanjiani, who plays Dinesh on the show, revealed it on Twitter:

Not only did the math check out, the Silicon Valley producers actually hired Stanford engineers to make the formula in the first place! Here it is in a much more polite version, courtesy of the Wall Street Journal's John Jergensen:

I, for one, am just glad to see that Silicon Valley is useful for something other giving me tonal whiplash after Game of Thrones every Sunday.

[Via The Daily Dot]