Consider $x^e \equiv a\pmod n$, given $n$, $a$, and $e$$e>2$, with $n$ being a composite integer and unknown $x$.
Can a hypothetical function $f(a)=x$, an $eth$ root extractor, be used / adapted to factor $n$, in the same way that the multiplicative order of $x \space modulo\space n$ can be used to factor $n$ like in the classical part of Shor's algorithm?