Kwwiker

Итог

Jun 20th, 2021
633
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def deli(x):
  2.   a = []
  3.   for i in range(2,int(x**0.5)+1):
  4.     if x%i == 0:
  5.       if len(deli(i)) == 0:
  6.         a.append(i)
  7.         if i != x**0.5:
  8.           if len(deli(x//i)) == 0:
  9.             a.append(x//i)
  10.   return sorted(a)
  11. for x in range(33333,55556):
  12.   b = deli(x)
  13.   if len(b) > 0 and sum(b) > 250 and x%sum(b)==0:
  14.     print(x,sum(b))
RAW Paste Data