Farz0l1x

Untitled

Sep 24th, 2022
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. def f(x, a):
  2.     return not ((x % 6 != 0) and ((x % a != 0) <= (x % 14 == 0)) or (a < 100))
  3. for a in range(1, 1000):
  4.     if all(f(x, a) == 1 for x in range(1, 1000)):
  5.         print(a)
  6.         break
Advertisement
Add Comment
Please, Sign In to add comment