dxnge

tsk 4

Nov 8th, 2021
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. for i in range(164700, 164752+1):
  2.     ds = set()
  3.     for d in range(2, int(i * 0.5) + 1):
  4.         if i % d == 0:
  5.             ds |= {d, i // d}
  6.     if len(ds) == 4:
  7.         print(sorted(ds)[-1], i)
  8.  
Advertisement
Add Comment
Please, Sign In to add comment