numlib::tau
-- number of divisors of
an integernumlib::tau
(n)
returns the number of
positive divisors of n
.
numlib::tau(n)
n |
- | an integer |
numlib::tau
returns a nonnegative integer.
numlib::divisors
,
numlib::numprimedivisors
,
numlib::primedivisors
numlib::tau
(0)
returns
0
.numlib::tau
returns the function call with evaluated
argument if the argument is not a number.numlib::tau
returns an error if the argument evaluates
to a number of wrong type.numlib::tau
is the same function as
numlib::numdivisors
.We compute the number of positive divisors of the number (one of the highly composite numbers studied by S. Ramanujan in 1915):
>> numlib::tau(6746328388800)
10080
ifactor
is used for factoring
n
.