Posted By

NerdGnome on 02/19/11


Tagged


Versions (?)

code


 / Published in: Pseudocode
 

  1. The output of your program should be the following, according to my calculations!
  2.  
  3. Start End Number of Primes
  4. 1 1000 168
  5. 1001 2000 135
  6. 2001 3000 127
  7. 3001 4000 120
  8. 4001 5000 119
  9. 5001 6000 114
  10. 6001 7000 117
  11. 7001 8000 107
  12. 8001 9000 110
  13. 9001 10000 112
  14. 49001 50000 98
  15.  
  16. Total primes in the first 50 chiliads: 5133
  17. Average number per chiliad: 102.66

Report this snippet  

You need to login to post a comment.