Aliquot Sequence Research
2.0
Compute properties of the sum-of-proper-divisors function.
|
Go to the documentation of this file.
11 #ifndef POMYANG_KPARENT_INC_POMYANG_KPARENT_H_
12 #define POMYANG_KPARENT_INC_POMYANG_KPARENT_H_
17 #include "../inc/PackedArray.h"
18 #include "../inc/math_macros.h"
81 #endif // POMYANG_KPARENT_INC_POMYANG_KPARENT_H_
bool est_heap
Definition: pomyang_kparent.h:52
size_t seg_len
Definition: pomyang_kparent.h:49
size_t num_locks
Definition: pomyang_kparent.h:50
void print_to_file(pomyang_config_t *cfg, const char *filename, uint64_t *count, float runtime)
Prints Pomerance-Yang algorithm configuration.
Definition: pomyang_kparent.c:162
size_t bound
Definition: pomyang_kparent.h:48
size_t preimage_count_bits
Definition: pomyang_kparent.h:47
PackedArray handle.
Definition: PackedArray.h:74
uint64_t * pomyang_count_kparent(const pomyang_config_t *cfg)
runs the Pomerance-Yang algorithm and counts occurrence of kparent numbers.
Definition: pomyang_kparent.c:154
Configure the Pomerance-Yang algorithm.
Definition: pomyang_kparent.h:46
size_t num_threads
Definition: pomyang_kparent.h:51
bool quiet
Definition: pomyang_kparent.h:53
PackedArray * pomyang_algorithm(const pomyang_config_t *cfg)
Runs the Pomerance-Yang algorithm.
Definition: pomyang_kparent.c:94