SmoothNumbers
Documentation for SmoothNumbers.
SmoothNumbers.prattSmoothNumbers.prattSmoothNumbers.prattSmoothNumbers.smoothSmoothNumbers.smoothSmoothNumbers.smoothSmoothNumbers.with_basesSmoothNumbers.with_bases
SmoothNumbers.pratt — FunctionComputes 3-smooth numbers.
SmoothNumbers.pratt — Methodpratt(n::Integer)Computes the first n 3-smooth numbers and returns them as a Vector{Int}.
SmoothNumbers.pratt — Methodpratt(::Type{T}, n::Integer) where T<:IntegerComputes the first n 3-smooth numbers and returns them as a Vector{T}.
SmoothNumbers.smooth — FunctionComputes smooth numbers.
SmoothNumbers.smooth — Methodsmooth(k::Integer, n::Integer)Computes the first n k-smooth numbers and returns them as a Vector{typeof(k)}.
SmoothNumbers.smooth — Methodsmooth(::Type{T}, k::Integer, n::Integer) where T<:IntegerComputes the first n k-smooth numbers and returns them as a Vector{T}.
SmoothNumbers.with_bases — FunctionComputes numbers that can be written as a product of powers of a given set of bases.
SmoothNumbers.with_bases — Methodwith_bases(bases::AbstractVector{T}, n::Integer) where T<:IntegerComputes the first n numbers that can be written as a product of powers of the bases.
The result is a Vector with the same element type as bases.