dxnge

9

Oct 11th, 2021
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. nums = []
  2. for i in range(2048, 18193):
  3.     if 8192 < i < 12048:
  4.         continue
  5.     for d in [10]:
  6.         if i % d == 8:
  7.             continue
  8.         else:
  9.             break
  10.     for d in [7]:
  11.         if i % d == 0:
  12.             break
  13.         else:
  14.             continue
  15.     for d in [11, 23]:
  16.         if i % d == 0:
  17.             break
  18.         else:
  19.             nums.append(i)
  20.  
  21. print(len(nums))
  22. print(min(nums))
Advertisement
Add Comment
Please, Sign In to add comment