This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


Divisible[n, m]
yields True if n is divisible by m, and yields False if it is not.
  • Divisible[n, m] works for integers or rational numbers n and m.
  • Divisible works with exact numeric quantities, as well as explicit numbers.
  • Divisible[n, m] is effectively equivalent to Mod[n, m]0.
  • For exact numeric quantities, Divisible internally uses numerical approximations to establish its result. This process can be affected by the setting of the global variable $MaxExtraPrecision.
New in 6