The friends crash an upscale party attended by prominent intellectuals, and Ted tries to show off his brainier side. Arianna Huffington, Peter Bogdanovich and New York Times crossword editor Will Shortz have cameos.