Text this: Ergodic theory with a view towards number theory