[math-fun] computing products like (1 - 2/p^2)