Counting powers of two - a neat pattern | Hacker News Reader