Halo said
Ah, now it's fixed. Yeah, it's because you're "dividing into" endless zeroes. Nothing ever changes. Therefore, if you end up with the same remainder twice at any point (which isn't unlikely) you'll go into a loop. Also, that isn't pi, just to say. Maybe a rough approximation, but not actually pi.
Like a Kruskal path right?