NIKOLAY_TETUS

25-2

Jun 20th, 2021
754
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. numbersAmount = 0
  2. index = 150001
  3.  
  4. S = 0
  5. while numbersAmount < 7:
  6.     S = 0
  7.     for i in range(2, int(index ** 0.5) + 1):
  8.         if index % i == 0:
  9.             S += i
  10.             if index // i != i:
  11.                 S += index // i
  12.     if S % 13 == 10:
  13.         numbersAmount += 1
  14.         print(index, S)
  15.     index += 1
  16.  
RAW Paste Data