You can put this solution on YOUR website! If you can tell that the number is a perfect square, it should be pretty easy. There are several other algorithms (you can search online) used to find the square root of a non-perfect square, many of them using some sort of recursion.