MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / lucas_lehmer_primality_test.py

File lucas_lehmer_primality_test.py

maths/lucas_lehmer_primality_test.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2In mathematics, the Lucas-Lehmer test (LLT) is a primality test for Mersenne
3numbers. https://en.wikipedia.org/wiki/Lucas%E2%80%93Lehmer_primality_test
4

Callers

nothing calls this directly

Calls 1

lucas_lehmer_testFunction · 0.85

Tested by

no test coverage detected