News for hackers. Stuff that matters.
Re:A Million Digits of Pi in 9 Lines of JavaScript by mef51 on Thursday September 12, 2019 @04:49PM (#20956289)
odds to get the 1/3, 1/5, 1/7, 1/9, etc. term and count by alternating digits on the numerator and denominator up to the next even number to get 1/2, 13/24, 135/246, 1357/2468, etc for the first term.

equivalently you just list odds on the numerator and evens in the denominator

There are no comments on this comment yet.