Advertisement
darya_leushkina

Untitled

Apr 22nd, 2021
803
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. minimum = 4 * 10 ** 10
  2. count = 0
  3. number = 2 * 10 ** 10
  4. while number <= 4 * 10 ** 10:
  5.     if number % 7 == 0 and number % 100000 == 0:
  6.         if number % 13 != 0 and number % 29 != 0 and number % 43 != 0 and number % 101 != 0:
  7.             count += 1
  8.             if minimum > number:
  9.                 minimum = number
  10.     number += 100000
  11. print(count, minimum)
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement