Skip to content

Releases: git4robot/pypi_find_primes

Version 1.0.0

04 May 03:42
ab34af0
Compare
Choose a tag to compare

Downloads

Find Primes is a library to find all kinds of primes.

Install

pip install -U find-primes

Twin Primes

A twin prime is a prime number that is either 2 less or 2 more than another prime number.

Example: Find all twin primes below 1000.

from find_primes import find_twins
print(find_twins(1000))

Palindrome Primes

A palindrome prime is a prime number that is also a palindrome number.

Example: Find all palindrome primes below 1000.

from find_primes import find_palindromes
print(find_palindromes(1000))

Emirps

An emirp is a prime number that results in a different prime when its decimal digits are reversed.

Example: Find all emirps below 1000.

from find_primes import find_reverse
print(find_reverse(1000))

Primes in Arithmetic Progression

Primes in arithmetic progression are any sequence of at least three prime numbers that are consecutive terms in an arithmetic progression.

Example: Find all primes in arithmetic progression below 1000.

from find_primes import find_arithmetic_prime_progressions
print(find_arithmetic_prime_progressions(100))

Version 1.0.0 Pre Release 1

04 May 03:40
ab34af0
Compare
Choose a tag to compare
Pre-release

Downloads

Find Primes is a library to find all kinds of primes.

Install

pip install -U find-primes

Twin Primes

A twin prime is a prime number that is either 2 less or 2 more than another prime number.

Example: Find all twin primes below 1000.

from find_primes import find_twins
print(find_twins(1000))

Palindrome Primes

A palindrome prime is a prime number that is also a palindrome number.

Example: Find all palindrome primes below 1000.

from find_primes import find_palindromes
print(find_palindromes(1000))

Emirps

An emirp is a prime number that results in a different prime when its decimal digits are reversed.

Example: Find all emirps below 1000.

from find_primes import find_reverse
print(find_reverse(1000))

Primes in Arithmetic Progression

Primes in arithmetic progression are any sequence of at least three prime numbers that are consecutive terms in an arithmetic progression.

Example: Find all primes in arithmetic progression below 1000.

from find_primes import find_arithmetic_prime_progressions
print(find_arithmetic_prime_progressions(100))

Version 1.0.0 Beta 1

04 May 03:35
ab34af0
Compare
Choose a tag to compare
Version 1.0.0 Beta 1 Pre-release
Pre-release

Downloads

Find Primes is a library to find all kinds of primes.

Install

pip install -U find-primes

Twin Primes

A twin prime is a prime number that is either 2 less or 2 more than another prime number.

Example: Find all twin primes below 1000.

from find_primes import find_twins
print(find_twins(1000))

Palindrome Primes

A palindrome prime is a prime number that is also a palindrome number.

Example: Find all palindrome primes below 1000.

from find_primes import find_palindromes
print(find_palindromes(1000))

Emirps

An emirp is a prime number that results in a different prime when its decimal digits are reversed.

Example: Find all emirps below 1000.

from find_primes import find_reverse
print(find_reverse(1000))

Primes in Arithmetic Progression

Primes in arithmetic progression are any sequence of at least three prime numbers that are consecutive terms in an arithmetic progression.

Example: Find all primes in arithmetic progression below 1000.

from find_primes import find_arithmetic_prime_progressions
print(find_arithmetic_prime_progressions(100))