mirror of
https://github.com/Alexander-D-Karpov/scripts.git
synced 2024-11-22 11:56:33 +03:00
16 lines
226 B
Python
Vendored
16 lines
226 B
Python
Vendored
def d(n):
|
|
r = []
|
|
for i in range(15, n - 1, 15):
|
|
if n % i == 0:
|
|
r.append(i)
|
|
return r
|
|
|
|
|
|
c = 0
|
|
|
|
for x in range(66730, 67001):
|
|
if len(d(x)) == 3:
|
|
print(x, d(x))
|
|
|
|
print(c)
|