Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t=1
- while lista[test] <= 500:
- lista=[1]*(t*10000000)
- value = 2
- while value < t*10000000:
- i = value
- while i < t*10000000:
- lista[i] += 1
- i += value
- value += 1
- j = 2
- test = 1
- while test < t*1000000:
- if lista[test] > 500:
- break
- test += j
- j += 1
- t += 1
- print(test)
Add Comment
Please, Sign In to add comment