As it turns out, this problem is impossible to solve because of the nature of pi, but that's another story.
Y resulta que este problema es irresoluble debido a la naturaleza de pi, pero esa es otra historia.