Skip to main content

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


Acknowledgements

  • Neil Sloane, founder of the Online Encyclopaedia of Integer Sequences

Metadata

Release files for integerSequence 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for integerSequence 0.1.1
File Size Uploaded
integerSequence-0.1.1.tar.gz 21.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for integerSequence 0.1.1
File Interpreter ABI Platform
integerSequence-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 49.1 kB

Release files / integerSequence-0.1.1.tar.gz

Download URL integerSequence-0.1.1.tar.gz
Size 21.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7222de752e2d101b645f2745dbaee70855c05187542d566a67c47564b206b930
BLAKE2b-256 checksum
How to use checksums
fad1f6bcee66d789f889ce117f4fdbd828c703ea698cf3c670d6a8c084760da8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / integerSequence-0.1.1-py3-none-any.whl

Download URL integerSequence-0.1.1-py3-none-any.whl
Size 27.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c38c5f106eb43361ab7237511474d8133ab084b15da54be7126e8300dc7a08b
BLAKE2b-256 checksum
How to use checksums
ba21aa6e8c9e2d483550dc739f26e42f6782f4a7621e683e6a06218708e633aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page