Ann Arbor. Which narrowly beats out Palo Alto, home to quiet, bucolic Stanford University. [Forbes]