Square Root by Prime Factorisation