Go to this page do it and show it to your maths teacher if you want.

Do you know other games like that ?