divisors

package
v0.0.0-...-50cbe12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCheckFailed = errors.New("array not unique or prime")
View Source
var ErrIntegerOverflow = errors.New("integer overflow")

Functions

func CheckIfPrime

func CheckIfPrime(n int64) bool

func CheckUniqueness

func CheckUniqueness(n []int64) bool

func DivisorSum

func DivisorSum(n int64) (int64, error)

func DivisorSumBig

func DivisorSumBig(n big.Int) (big.Int, error)

func MemoizedPartitionsOfN

func MemoizedPartitionsOfN(n int) [][]int

func PartitionsOfKun

func PartitionsOfKun(n int) [][]int

func PartitionsOfN

func PartitionsOfN(n int) [][]int

func PrimeFactorDivisorSum

func PrimeFactorDivisorSum(PrimeFactors [][]int64) (big.Int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL