MCPcopy Create free account
hub / github.com/andeya/algorithm / FromFactorBigInt

Function FromFactorBigInt

mathutil/mersenne/mersenne.go:157–182  ·  view source on GitHub ↗

* FromFactorBigInt returns n such that d | Mn if n <= max and d is odd. In other cases zero is returned. It is conjectured that every odd d ∊ N divides infinitely many Mersenne numbers. The returned n should be the exponent of smallest such Mn. NOTE: The computation of n from a given d performs ro

(d *big.Int, max uint32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestFromFactorBigIntFunction · 0.85

Calls 1

AddMethod · 0.65

Tested by 2

TestFromFactorBigIntFunction · 0.68