Since Pi is infinite and non-repeating, would that mean any finite sequence of non-repeating numbers should appear somewhere in Pi?
lukewarm_ozone @ lukewarm_ozone @lemmy.today Posts 0Comments 95Joined 7 mo. ago
lukewarm_ozone @ lukewarm_ozone @lemmy.today
Posts
0
Comments
95
Joined
7 mo. ago
You generate it when needed, using one of the known sequences that converges to π. As a simple example, the
pi()
recipe here shows how to compute π to arbitrary precision. For an application like pifs you can do even better and use the BBP formula which lets you directly calculate a specific hexadecimal digit of π.