"Well, if I've managed to remember all the numbers correctly, it's from a version of this problem I worked as a kid, back in Civilization where you could just toss numbers like that into 'computers'*."
(*) This is clearly the same word as appeared in 'computer-science'.