Math/programming puzzle | Hacker News Reader