Powers of a 2×2 matrix in closed form | Hacker News Reader