Skip to content

Jupyter notebook of some examples for generating prime numbers up to 100

License

Notifications You must be signed in to change notification settings

lewisdean731/rt-prime-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rt-prime-number

This repository contains a jupyter notebook showing progressive examples for generating prime numbers up to 100. Each method is timed using timeit.

Installation

Make sure you have Python 3 installed on your system.

Create a new virtualenv environment:

python3 -m venv .venv

Enter the virtual environment:

source .venv/bin/activate

Install packages:

pip install -r requirements.txt

Usage

Launch Jupyter Notebook:

jupyter notebook

And select Prime Numbers.ipynb from the list of files.

About

Jupyter notebook of some examples for generating prime numbers up to 100

Topics

Resources

License

Stars

Watchers

Forks