8 1 4 4.0 2.1 s=range(3,n+1,2)
17 |
9 1 10 10.0 5.3 mroot = n ** 0.5 |
18 |
10 1 2 2.0 1.1 half=(n+1)/2-1 |
19 |
11 1 1 1.0 0.5 i=0 |
20 |
12 1 1 1.0 0.5 m=3 |
21 |
13 5 7 1.4 3.7 while m <= mroot: |
22 |
14 4 4 1.0 2.1 if s[i]: |
23 |
15 3 4 1.3 2.1 j=(m*m-3)/2 |