Divisors

Returns the divisors of a number.

divisors(Integer)

Given an integer, returns a list with the positive divisors in ascending order.

divisors(Integer, Boolean)

Given an integer and a boolean b, if b=false it is the same as divisors(Integer); if b=true returns the negative divisors too with the following structure: left curly bracket d subscript 1 comma negative d subscript 1 comma d subscript 2 comma negative d subscript 2 comma... comma d subscript n comma negative d subscript n right curly bracket, with 0 less than d subscript 1 less than d subscript 2 less than midline horizontal ellipsis less than d subscript n.