http://beecoder.org/ja/javascript/print-all-prime-numbers-in-an-interval-in-javascript
間隔内のすべての素数を出力, JavaScript