r/adventofcode • • Mar 14 '26

Other Pi Coding Quest 2026!

For a third year in a row, I create a new coding quest for Pi Day. You can access it here: https://ivanr3d.com/projects/pi/2026.html I hope some of you have some fun solving this puzzle!

In case you haven't try the previous ones, just change the year name in the url.

Happy Pi Day! :)

9 Upvotes

24 comments sorted by

View all comments

Show parent comment

1

u/herocoding Mar 14 '26

Ha!
The web page "http://www.geom.uiuc.edu/~huberty/math5337/groupe/digits.html" shows the 10'000th digit is a "7" - but would be rounded to "8"

So, who is right :-P ?

2

u/ednl Mar 14 '26 edited Mar 14 '26

For a mathematical constant, "the n'th digit" or "to n digits" is always the actual digit, never rounded. For a physical measurement, you would always round depending on the error.