Last I knew, at least in America, universities that want their math prof's to do research also expect those prof's to bring in plenty of outside funding. You could argue about the costs of that desk, paper, pencil, and such - but modern "research" universities have evolved into extremely high-overhead operations, and The Beast Must Be Fed.