Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 711f294

Browse files
committed
center sieve image
1 parent a0b152e commit 711f294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algebra/sieve-of-eratosthenes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ And we continue this procedure until we processed all numbers in the row.
1313

1414
In the following image you can see a visualization of the algorithm for computing all prime numbers in the range $[1; 16]$. It can be seen, that quite often we mark numbers as composite multiple times.
1515

16-
![Sieve of Eratosthenes](sieve_eratosthenes.png)
16+
<center>![Sieve of Eratosthenes](sieve_eratosthenes.png)</center>
1717

1818
The idea behind is this:
1919
A number is prime, if none of the smaller prime numbers divides it.

0 commit comments

Comments
 (0)