Translating...

This commit is contained in:
danogentili 2016-06-26 15:28:39 +02:00
parent 5cae168a55
commit 11d367146a
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -147,6 +147,7 @@ function pollard_brent($n) {
}
$smallprimes = primesbelow(10000);
function primefactors($n, $sort = false) {
global $smallprimes;
$factors = [];
$limit = (pyjslib_int(pow($n, 0.5)) + 1);
foreach ($smallprimes as $checker) {