Skip to main content

Some useful functions that are helpful in completing Project Euler (projecteuler.net) problems.

# Description

This package contains 10 modules * divisors(n): returns a list of divisors of net * prime_factors(n): returns a list of the prime factors of net * is_prime(n): check if n is prime * sieve_of_eratosthenes(n): returns a list of all prime numbers < n * is_palindrome(n): checks if n is a palindromic numbers * is_pandigital(n): n is a m-digit pandigital number if it contains all digits 1-m exactly once * is permutation(a, b): checks if a and b are permutations of each other * coprime(a, b): check if a and b are coprime * totient(n): returns Euler’s totient functions * generalized_hamming(x, n): Checks if integer x has no prime factors larger than n

# Installation

`bash pip install euler_helper `

Metadata

Release files for euler-helper 0.4

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

Source distribution (sdist)

Source distribution for euler-helper 0.4
File Size Uploaded Provenance Actions
euler_helper-0.4.tar.gz 2.6 kB Without provenance Details for euler_helper-0.4.tar.gz

Release files / euler_helper-0.4.tar.gz

Download URL euler_helper-0.4.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
eec12e69a318aedd545f20adca4114de654f4b6e5dd22ecbb180f8fc2cf016b2
BLAKE2b-256 checksum
How to use checksums
e0191b7c9e71737f3a50c097429fedd02d1fb80e5a4195019aebc3779f6aa44b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

Security for euler-helper 0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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