r/ProgrammerHumor • • 18d ago

Meme reversingPiInPython

Post image
14k Upvotes

383 comments sorted by

View all comments

Show parent comment

1

u/IAmFullOfDed 10d ago

You do have a point. My cultural beliefs led me to assume that any ongoing activity must’ve started at some point, and therefore writing pi backwards requires writing the first digit. However, that assumption is not necessarily true under a belief system that allows for an infinite past.

If the future is infinite, you can write the 1st digit of pi, then the 2nd digit, then the 3rd, etc., and reach every digit this way. For every digit of pi, there is a finite number of steps until that digit is reached. What you can’t do is finish writing all the digits. For every digit, there is a next digit, so you’ll always have more work to do.

Another thing you can’t do is begin writing pi backwards, i.e. write the last digit of pi, then the 2nd-last, then the 3rd-last, and so on. The last digit of pi doesn’t exist, because pi doesn’t have an end. With an infinite past, though, you could have always been writing pi backwards. If that’s the case, then if you haven’t written every digit yet, you can only have finitely many of them left.

1

u/ElectricalPrice3189 10d ago

I don't think you can do either. You have one job where there's no end and another where's there's no beginning. Infinities are confusing. I mean, you can't win a race if there's no goalpost, right?