/Prime_Numbers

This repository contains the Python code to efficiently generate a list of prime numbers with explanation of the mathematical background

Primary LanguageJupyter NotebookMIT LicenseMIT

Prime Numbers with Python

Sidclay da Silva

April 2022


Introduction

Creating a list of prime numbers with Python is not really a big deal, but managing it in a convinient way and have it done efficiently is another story.

In this repository we explore some mathematical resources and apply them to improve the efficiency of the code, everything is explained in a easy way, with accessible language and examples, but basic knowledge of Python is required.

Content

  • README.md

    This file.

  • LICENSE.md

    License rights and limitations for this repository and its content (MIT).

  • PrimeNumbersPython.ipynb

    Jupyter notebook with Python code and mathematical background explanation.

  • primenumbers.py

    Python code containing a function to create a list of prime numbers.