Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = 1
- y = 1
- z = 1
- n = 0
- while n < 499:
- if y > x:
- n = 0
- z += 1
- x = x +z
- y = 1
- if x % y == 0:
- n += 1
- y += 1
- else:
- y += 1
- print(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement