mirror of
https://github.com/Alexander-D-Karpov/scripts.git
synced 2024-11-25 21:13:43 +03:00
14 lines
270 B
Python
14 lines
270 B
Python
|
def dev(n):
|
||
|
for i in range(2, int(n**0.5) + 2):
|
||
|
if n % i == 0:
|
||
|
return i
|
||
|
|
||
|
|
||
|
for i in range(850_000, 5_000_000):
|
||
|
n = dev(i)
|
||
|
if n:
|
||
|
r = i / n
|
||
|
num = r - n
|
||
|
if num and num % 13 == 0:
|
||
|
print(i, num)
|