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
integerSequence-0.1.1.tar.gz
(21.9 kB
view hashes)
Built Distribution
Close
Hashes for integerSequence-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c38c5f106eb43361ab7237511474d8133ab084b15da54be7126e8300dc7a08b |
|
MD5 | 17b255be9083956b196763f766584ba3 |
|
BLAKE2b-256 | ba21aa6e8c9e2d483550dc739f26e42f6782f4a7621e683e6a06218708e633aa |