This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Mathematical Functions / Number Theory  /
Divisors

  • Divisors[ n ] gives a list of the integers that divide n.
  • Example: Divisors[12].
  • Divisors[ n , GaussianIntegers -> True] includes divisors that are Gaussian integers.
  • See the Mathematica book: Section 3.2.4.
  • See also: FactorInteger, EulerPhi.

    Further Examples

    Here are the divisors of .

    In[1]:=

    Out[1]=