[back] [prev] [next] [index] [root]

 


IntDivisors

Returns a sorted list of all non-negative divisors of a rational integer.

Syntax:

L := IntDivisors(d);

list
  L  
integer
  d  

See also:  IntFactor

Description:

no detailed description available yet


Example:

Divisors of 30030:

kash> IntDivisors(30030);
> [ 1, 2, 3, 5, 6, 7, 10, 11, 13, 14, 15, 21, 22, 26, 30, 33, 35, 39, 42, 55, 
  65, 66, 70, 77, 78, 91, 105, 110, 130, 143, 154, 165, 182, 195, 210, 231, 
  273, 286, 330, 385, 390, 429, 455, 462, 546, 715, 770, 858, 910, 1001, 
  1155, 1365, 1430, 2002, 2145, 2310, 2730, 3003, 4290, 5005, 6006, 10010, 
  15015, 30030 ]


<- back[back] [prev] [next] [index] [root]