0

we can simplify a square root $$\sqrt 8 = \sqrt {2^2 \cdot 2} = 2\sqrt 2$$
I need a good algorithm to simplify a big integer $n$ of thousands digits.
$$\text{for constant } n \in \mathbb N \\x, y \in \mathbb N \\ \text{ } \\ \text{find positive integer solution }(x,y) \text{ in}\\ n = x^2 y$$

X Y
  • 103

1 Answers1

1

It's unlikely that there is a good algorithm because Wikipedia says

every known algorithm for computing a square-free factorization [of integer] computes also the prime factorization.

lhf
  • 216,483