There are strong connections between harmonic analysis and ergodic theory. A recent example of this interaction is the proof of the spectacular result by Terence Tao and Ben Green that the set of prime numbers contains arbitrarily long arithmetic progressions. This text presents a series of essays on the topic.