The divisors of a number: idivis divisors

### 5.5.7 The divisors of a number: idivis divisors

The idivis command finds the divisors of an (ordinary) integer.
divisors is a synonym for idivis.

- idivis takes one argument:
  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

- Input:
  idivis(36)
  Output:

  | ⎡ ⎣ | 1,2,3,4,6,9,12,18,36 | ⎤ ⎦

- Input:
  idivis([36,22])
  Output:

  | ⎡ ⎣ | ⎡ ⎣ | 1,2,3,4,6,9,12,18,36 | ⎤ ⎦ | , | ⎡ ⎣ | 1,2,11,22 | ⎤ ⎦ | ⎤ ⎦