Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f, max_div, count, c = [], 0, 0, 0
- for i in range(394480, 394541):
- for j in range(1, i + 1):
- if i % j == 0:
- f.append(j)
- if len(f) > max_div:
- max_div = len(f)
- f.clear()
- print(max_div)
- for i in range(394480, 394541):
- for j in range(1, i + 1):
- if i % j == 0:
- count += 1
- f.append(j)
- if count == 48:
- c += 1
- f = sorted(f)
- print(c, f[-1], f[-2])
- count = 0
- f.clear()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement