Trial division (First Category Integer Factoring Integer Factoring)

From Algorithm Wiki
Jump to navigation Jump to search

Time Complexity

$O({2}^{n/2})$

Space Complexity

$O(n)$ bits

(need to keep track of what number you're currently checking)

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Word RAM?

Year

1202

Reference

-