-
MathType
-
Wiris Quizzes
-
Learning Lemur
-
CalcMe
-
MathPlayer
-
Store FAQ
-
VPAT for the electronic documentation
-
MathFlow
-
BF FAQ
Divisors
Reading time: 1minReturns the divisors of a number.
Syntax
divisors(Integer)
divisors(Integer, Boolean)
Description
Given an integer, returns a list with the positive divisors in ascending order.
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: {d1,-d1,d2,-d2,...,dn,-dn}, with 0<d1<d2<⋯<dn.