Does anyone have a formula for Worldedit to create an icosahedron?

Answer moved from body of question


After more research i found something that could solve this problem https://mathworld.wolfram.com/IcosahedralEquation.html