<a href="https://dl.acm.org/doi/10.1145/258533.258663">Approximately counting up to four</a>, by Luby and Vigoda.