Mathematica 9 is now available
 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]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.