Skip to main content

An algorithm that computes modular nested exponentiation efficiently

Project description

modular-nested-exponentiation

An algorithm that computes modular nested exponentiation efficiently

License Version
Wheel Implementation
Status Supported versions
Downloads

Generalised modular exponentiation

We present an algorithm that takes as input an arbitrarily long sequence of positive integers a₁, a₂, a₃, ..., aₙ and a positive integer m and computes a₁^(a₂^(···^aₙ)) mod m efficiently (that is, without computing the value of the nested exponent).

Without this algorithm, this type of computation is unfeasible for modern computers even for short input sequences containing small integers.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mod-nest-exp-1.0.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

mod_nest_exp-1.0.2-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file mod-nest-exp-1.0.2.tar.gz.

File metadata

  • Download URL: mod-nest-exp-1.0.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.1+

File hashes

Hashes for mod-nest-exp-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f830baf2af488ddd6c3a1ec2efa66c268e9de487ee41325b99f438478b32a3c1
MD5 1054c5646dd3ec2bec8027a60d308923
BLAKE2b-256 7fc34ca364e1308d349112b850defabc625f37eaed3bd0f4644b546fa4a31f69

See more details on using hashes here.

File details

Details for the file mod_nest_exp-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: mod_nest_exp-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.1+

File hashes

Hashes for mod_nest_exp-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 646ec629f88d2241af3b4b008b602f81a8f8afe51890027c88010eada918ff7e
MD5 fcc6dc3f03932cad00241693584dd7d3
BLAKE2b-256 3cc62d0aa7aabc25db85cca3a5cc40ce6ef647cf02601d7444c6f20f09d91d58

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page