doublem1nt84 NonPrime 9262
Камардин Богдан Михайлович 307 NonPrime 8764
f1def nonprime(n=0):f1def nonprime(n=0):
n2    now = n + 1n2    k = n + 1
3    while True:3    while True:
t4        if now == 1:t4        if k == 1:
5            yield now5            yield k
6        else:
6        for i in range(2, int(now ** 0.5) + 1):7            for i in range(2, int(k ** 0.5) + 1):
7            if now % i == 0:8                if k % i == 0:
8                yield now9                    yield k
9                break10                    break
10        now += 111        k += 1
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op