【Python】エラトステネスの篩を使ってPythonで素数を探すby あずみに Pythonon 投稿日: 2016年10月3日 【Python】エラトステネスの篩というアルゴリズムを使えば素数を簡単に探すことができます。 そのアルゴリズムをPythonで実装してみました。 ソースコードは以下のとおりです。 Loading Sorry, something went wrong. Reload? Sorry, we cannot display this file. Sorry, this file is invalid so it cannot be displayed. Viewer requires iframe. view raw prime.ipynb hosted with by GitHub View the code on Gist.