MCPcopy Create free account
hub / github.com/TheAlgorithms/Rust / generate_perfect_numbers

Function generate_perfect_numbers

src/math/faster_perfect_numbers.rs:8–22  ·  view source on GitHub ↗

Generates a list of perfect numbers till `num` using the Lucas Lehmer test algorithm. url : https://en.wikipedia.org/wiki/Lucas%E2%80%93Lehmer_primality_test */

(num: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

get_prime_limitFunction · 0.85
prime_numbersFunction · 0.85
is_mersenne_primeFunction · 0.85
pushMethod · 0.80
iterMethod · 0.45

Tested by

no test coverage detected