The operator algebra content of the Ramanujan–Petersson problem