Skip to content

Commit 913fe1f

Browse files
committed
Update factorization.md
clarification
1 parent 3550533 commit 913fe1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algebra/factorization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ So this leaves us with only $33.3\%$ percent of the numbers to check.
7373
We can implement this by factoring out the primes 2 and 3 first, after which we start with 5 and only count remainders $1$ and $5$ modulo $6$.
7474

7575
Here is an implementation for the prime number 2, 3 and 5.
76-
It is convenient to store skippable numbers in an array.
76+
It is convenient to store the sizes of skipping increments in an array.
7777

7878
```{.cpp file=factorization_trial_division3}
7979
vector<long long> trial_division3(long long n) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy