Pell’s Equation on the Tech Tree