A Package for natively representing and calculating common integer sequences
Project description
Python Integer Sequences
Developed and maintained by Tyler R. Drury,
This project is a pure python package, allowing users to conveniently represent and generate common integer sequences, including:
- Factorials
- Prime numbers
- Catalan numbers
- Horadam numbers
- Padovan numbers
- Hofstadter numbers
- Collatz numbers
- Pronic numbers
- Lazy Caterer and Cake Numbers
- Geometric numbers(polygonal, polyhedral)
Target Platform
Python 3.6, 64-bit
Use
from integerSequence import Horadam
from integerSequence import Fibonacci as fib
from integerSequence import getPrimes
p = getPrimes(1000) #calculate all primes up to 1000
print(p)
h = Horadam(2,3,1,2) #unnamed Horadam sequence
s = h.series(10)
print(s)
s = fib.series(20)
print(s)
Download
Latest compiled python files/wheels can be found on the Python Package Index here, or developers can find the current Source Code at the GitHub repo here, if you wish to contribute.
Primary Developer
- Tyler R. Drury
Additional Contributors
Related Projects
Similar or related projects for various platforms can also be found here
Libraries
- IntegerSequences-cpp a compiled C/C++ library for generating common sequences of integers
- IntegerSequences-js a Javascript library for generating common sequences of integers, for front-end web browsers use
- IntegerSequences-php a PHP library for generating common sequences of integers, for back-end server use
Additional Online References and Resources
- The Official integerSequences-py Reference
- The Online Encyclopaedia of Integer Sequences
Acknowledgements
- Neil Sloane, founder of the Online Encyclopaedia of Integer Sequences
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file integerSequence-0.1.1.tar.gz
.
File metadata
- Download URL: integerSequence-0.1.1.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7222de752e2d101b645f2745dbaee70855c05187542d566a67c47564b206b930 |
|
MD5 | 675cc3bda2e3e3c21e77856b9eca0d7c |
|
BLAKE2b-256 | fad1f6bcee66d789f889ce117f4fdbd828c703ea698cf3c670d6a8c084760da8 |
File details
Details for the file integerSequence-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: integerSequence-0.1.1-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c38c5f106eb43361ab7237511474d8133ab084b15da54be7126e8300dc7a08b |
|
MD5 | 17b255be9083956b196763f766584ba3 |
|
BLAKE2b-256 | ba21aa6e8c9e2d483550dc739f26e42f6782f4a7621e683e6a06218708e633aa |