The popular differences theorem thus states that for each formula_24 with positive density, there is some formula_167 such that the number of 3-APs with common difference formula_167 is close to what we would expect.