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