### 7.1.7 Divisors of a number

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

- idivis takes n, an integer or list of integers.
- idivis(n) returns the list of the divisors of the integer n (or of a list of such lists).

#### 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 | ⎤ ⎦ | ⎤ ⎦