Aliquot Sequence Research  2.0
Compute properties of the sum-of-proper-divisors function.
All Data Structures Files Functions Variables Enumerations Macros Pages
Functions
bruteforce_kparent.h File Reference

api to brute force number of preimages More...

#include <stdint.h>
#include <stdlib.h>
Include dependency graph for bruteforce_kparent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint8_t * bf_kparent (size_t bound)
 compute number of preimages for even number upto bound More...
 
uint64_t * bf_kparent_counts (size_t bound)
 count number of even kparent numbers upto bound More...
 

Detailed Description

api to brute force number of preimages

Author
Gavin Guinn (gavin.nosp@m.guin.nosp@m.n1@gm.nosp@m.ail..nosp@m.com)
Date
2022-02-11

Function Documentation

◆ bf_kparent()

uint8_t* bf_kparent ( size_t  bound)

compute number of preimages for even number upto bound

Parameters
bound
Returns
uint8_t* buffer sized bound/2 counting counts of preimages, free'ed by caller.

◆ bf_kparent_counts()

uint64_t* bf_kparent_counts ( size_t  bound)

count number of even kparent numbers upto bound

Parameters
bound
Returns
uint64_t* buffer of size UINT8_MAX containing preimage counts, free'ed by caller.