darya_leushkina

Untitled

Mar 30th, 2021 (edited)
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.49 KB | None | 0 0
  1. from math import *
  2.  
  3. for i in range(289123456, 389123457):
  4.     total = 0
  5.     if i ** 0.25 % 1 == 0:  # если корень 4-ой степени извлекается
  6.         for div in range(2, int(sqrt(i)) + 1):
  7.             if i % div == 0:
  8.                 total += 1
  9.                 if i // div != div:  # проверка парного делителя
  10.                     total += 1
  11.                 if total > 3:
  12.                     break
  13.     if total == 3:
  14.         print(i)
  15.  
Add Comment
Please, Sign In to add comment