Coding challenge

Write some code to prove that $\prod_{n=2}^{\infty}(1-\frac{1}{n^2})=\frac{1}{2}$. (From Andreescu, p. 39.)

Type your code here:


Lua reference

See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code: