Previous Up Next

7.1.7  Divisors of a number

The idivis or divisors command finds the divisors of an (ordinary) integer.

Examples

idivis(36)
     
⎡
⎣
1,2,3,4,6,9,12,18,36⎤
⎦
          
idivis([36,22])
     
⎡
⎣
⎡
⎣
1,2,3,4,6,9,12,18,36⎤
⎦
,⎡
⎣
1,2,11,22⎤
⎦
⎤
⎦
          

Previous Up Next