dxnge

tsk 12

Nov 11th, 2021
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. for i in range(333555, 777999+1):
  2.     dls = set()
  3.     for d in range(2, int(i**0.5)+1):
  4.         if i % d == 0:
  5.             if len(str(d)) == 2:
  6.                 dls |= {d}
  7.             if len(str(i // d)) == 2:
  8.                 dls |= {i//d}
  9.     if len(dls) == 35:
  10.         print(i, min(dls), max(dls))
  11. #524160 10 96
  12. #540540 10 99
  13. #582120 10 99
  14. #589680 10 91
  15. #637560 10 99
  16.  
Advertisement
Add Comment
Please, Sign In to add comment