Versions in this module Expand all Collapse all v0 v0.8.0 Jul 19, 2026 Changes in this version + const AperyConstant + const ArtinConstant + const BrunConstant + const CatalanConstant + const EulerGamma + const FellerTornierConstant + const GlaisherKinkelin + const LandauRamanujanConstant + const LegendreConstant + const MertensConstant + const SarnakConstant + const SoldnerConstant + const StieltjesGamma0 + const StieltjesGamma1 + const StieltjesGamma2 + const TwinPrimeConstant + var ErrNonPositive = errors.New("analyticnt: argument must be positive") + func AverageGap(x int) float64 + func Bernoulli(n int) float64 + func BertrandPrime(n int64) int64 + func BigOmega(n int64) int + func ChebyshevBiasCount(x int) int64 + func ChebyshevPsi(x float64) float64 + func ChebyshevTheta(x float64) float64 + func ChebyshevThetaExp(x float64) float64 + func ClassNumberDirichlet(p int64) int64 + func CompletedZeta(s complex128) complex128 + func CountPrimesCongruent(a, q int64, x int) int64 + func CousinPrimesUpTo(x int) [][2]int64 + func CramerGap(p float64) float64 + func Digamma(x float64) float64 + func DirichletBeta(s float64) float64 + func DirichletEta(s float64) float64 + func DirichletEtaComplex(s complex128) complex128 + func DirichletL(s complex128, chi DirichletCharacter) complex128 + func DirichletLSeries(s float64, chi DirichletCharacter, terms int) complex128 + func DirichletLambda(s float64) float64 + func DivisorCount(n int64) int64 + func DivisorSigma(k int, n int64) int64 + func E1(x float64) float64 + func Ei(x float64) float64 + func EulerGammaExp() float64 + func EulerPhi(n int64) int64 + func ExplicitPsi(x float64, numZeros int) float64 + func FactorInt(n int64) map[int64]int + func FactorialMod(n, m int64) int64 + func GCD(a, b int64) int64 + func Gamma(x float64) float64 + func GaussSum(chi DirichletCharacter) complex128 + func GoldbachPair(n int) (p, q int64, ok bool) + func GoldbachPartitions(n int) int64 + func GramPoint(n int) float64 + func HardyLittlewoodTwinEstimate(x float64) float64 + func HardyZ(t float64) float64 + func HurwitzZeta(s, a float64) float64 + func HurwitzZetaComplex(s complex128, a float64) complex128 + func InverseLi(y float64) float64 + func IsCoprime(a, b int64) bool + func IsPrime(n int64) bool + func IsPrimePower(n int64) (ok bool, p int64, k int) + func IsSafePrime(p int64) bool + func IsSophieGermain(p int64) bool + func IsSquareFree(n int64) bool + func IsWilsonPrime(p int64) bool + func JacobiSymbol(a, n int64) int + func JordanTotient(k int, n int64) int64 + func LCM(a, b int64) int64 + func LFunctionReal(s float64, chi DirichletCharacter) complex128 + func LegendrePhi(x int64, a int) int64 + func LegendreSymbol(a, p int64) int + func Li(x float64) float64 + func LiOffset(x float64) float64 + func LiValueAt2() float64 + func Liouville(n int64) int + func LogGamma(x float64) float64 + func LogGammaComplex(z complex128) complex128 + func MangoldtSummatory(N int64) float64 + func MaxPrimeGap(x int) (gap int64, startingPrime int64) + func MaximalPrimeGaps(x int) [][2]int64 + func MeritOfGap(g int64, p int64) float64 + func MertensFunction(n int) int64 + func MertensProduct(x float64) float64 + func MertensSequence(n int) []int64 + func MobiusMu(n int64) int + func MobiusSieve(n int) []int + func MobiusSummatoryReciprocal(N int) float64 + func NextPrime(n int64) int64 + func NthPrime(n int) int64 + func NthPrimeApprox(n int) float64 + func NthPrimeInverseR(n int) float64 + func Omega(n int64) int + func PiError(x int64) float64 + func PiErrorRiemann(x int64) float64 + func PrevPrime(n int64) int64 + func PrimeCountBetween(lo, hi int64) int64 + func PrimeCountingBias(x int64) (bias float64, liOverestimates bool) + func PrimeDensity(x float64) float64 + func PrimeFactors(n int64) []int64 + func PrimeFactorsWithMultiplicity(n int64) []int64 + func PrimeGapHistogram(x int) map[int64]int + func PrimeGaps(x int) []int64 + func PrimeHarmonic(x float64) float64 + func PrimeIndex(p int64) int64 + func PrimeLogHarmonic(x float64) float64 + func PrimePi(x int64) int64 + func PrimePiApprox(x float64) float64 + func PrimePiCheck(x int64) (value int64, agree bool) + func PrimePiGauss(x float64) float64 + func PrimePiLegendre(x int64) int64 + func PrimePiLegendreApprox(x float64) float64 + func PrimePiLi(x float64) float64 + func PrimePiMeissel(x int64) int64 + func PrimePiSieve(n int) []int64 + func PrimePowerCount(x int64) int64 + func PrimePowersUpTo(x int64) []int64 + func PrimeTripletsUpTo(x int) [][3]int64 + func PrimeZeta(s float64) float64 + func PrimesInRange(lo, hi int) []int64 + func PrimesInResidueClass(a, q int64, x int) []int64 + func PrimesUpTo(n int) []int64 + func PrimorialPrimes(k int) []int64 + func PsiError(x float64) float64 + func PsiSchoenfeldBound(x float64) float64 + func Radical(n int64) int64 + func RandomPrimeBelow(n int, seed int64) int64 + func RiemannHypothesisBound(x float64) float64 + func RiemannR(x float64) float64 + func RiemannRPrime(x float64) float64 + func RiemannRScaled(x float64) float64 + func RiemannSiegelTheta(t float64) float64 + func RiemannSiegelThetaAsymptotic(t float64) float64 + func RiemannSiegelZ(t float64) float64 + func RiemannVonMangoldtN(T float64) float64 + func RiemannXiComplex(s complex128) complex128 + func RiemannXiReal(s float64) complex128 + func SafePrimesUpTo(x int) []int64 + func SecondChebyshev(x float64) float64 + func SemiprimeCount(x int64) int64 + func Semiprimes(x int64) []int64 + func SexyPrimesUpTo(x int) [][2]int64 + func Sieve(n int) []bool + func SkewesNumberLog() float64 + func SophieGermainPrimesUpTo(x int) []int64 + func SquareFreeCount(x int64) int64 + func ThetaError(x float64) float64 + func TotientSummatory(n int) int64 + func Trigamma(x float64) float64 + func TwinPrimeCount(x int) int64 + func TwinPrimeDensity(x float64) float64 + func TwinPrimesUpTo(x int) [][2]int64 + func VonMangoldt(n int64) float64 + func VonMangoldtLambda(n int64) float64 + func VonMangoldtSum(N int64) float64 + func Zeta(s float64) float64 + func ZetaAtEvenInteger(k int) float64 + func ZetaComplex(s complex128) complex128 + func ZetaPrime(s float64) float64 + func ZetaZero(n int) float64 + func ZetaZeroRealPart() float64 + func ZetaZeros(n int) []float64 + type DirichletCharacter struct + Q int64 + Values []complex128 + func AllCharactersModulo(q int64) []DirichletCharacter + func CharacterFromPrimitiveRoot(q int64, j int) DirichletCharacter + func LegendreCharacter(p int64) DirichletCharacter + func PrincipalCharacter(q int64) DirichletCharacter + func (c DirichletCharacter) Conjugate() DirichletCharacter + func (c DirichletCharacter) Eval(n int64) complex128 + func (c DirichletCharacter) IsPrincipal() bool + func (c DirichletCharacter) IsReal() bool + func (c DirichletCharacter) Order() int