Aliquot Sequence Research  2.0
Compute properties of the sum-of-proper-divisors function.
Data Fields
sieve_config_t Struct Reference

Configuration and computed values needed to operate sieve, only 1 needed for multiple threads. More...

#include <moewsmoews_sieve.h>

Data Fields

size_t bound
 
size_t seg_len
 
size_t buf_len
 
size_t primes_len
 
uint32_t * primes
 

Detailed Description

Configuration and computed values needed to operate sieve, only 1 needed for multiple threads.

Field Documentation

◆ bound

sieve_config_t::bound

Sieve all odd sigma(n) upto to bound.

◆ buf_len

sieve_config_t::buf_len

Computed to be seg_len / 2 as we are producing sigma(n) for odd n.

◆ primes

sieve_config_t::primes

Buffer of primes needed to operate sieve.

◆ primes_len

sieve_config_t::primes_len

Length of primes buffer.

◆ seg_len

sieve_config_t::seg_len

Size of range to sieve in a step.


The documentation for this struct was generated from the following file: