Guest User

Untitled

a guest
Jan 23rd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. t=1
  2. while lista[test] <= 500:
  3. lista=[1]*(t*10000000)
  4. value = 2
  5. while value < t*10000000:
  6. i = value
  7. while i < t*10000000:
  8. lista[i] += 1
  9. i += value
  10. value += 1
  11.  
  12. j = 2
  13. test = 1
  14. while test < t*1000000:
  15. if lista[test] > 500:
  16. break
  17. test += j
  18. j += 1
  19. t += 1
  20. print(test)
Add Comment
Please, Sign In to add comment