
numdivisors - number of positive integer divisors

Calling sequence:

numdivisors(integer)

Parameter:

integer   --  integer not equal to 0

Summary:

numdivisors returns the number of positive divisors of an integer integer
not equal to 0. Because, for instance, 12 has the divisors 1, 2, 3, 4, 6 and 12
numdivisors(12) returns the result 6.

numdivisors returns an error if the argument is a number but not an integer
or equal to 0. numdivisors returns the call with an evaluated argument if
the argument is not a number. numdivisors is a kernel function.

>>  numdivisors(12);

     6

>>  numdivisors(-7);

     2

See also:  primedivisors

