The function for Oakley group 2, p = 2^1024 - 2^960 - 1 + 2^64 * ⌊2^894 * π + 129093⌋, produces a prime number. It contains pi, an irrational number. How can an equation containing an irrational number produce a rational product?
I looked on the internet and could not find an answer. I learned in my mathematical structures class that the product of a rational and irrational number is irrational so this makes me wonder how pi is used to produce a prime.