Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


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 works with exact complex numbers.
  • Divisible[n,m] yields True only if is an integer.
  • 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.
  • Divisible[n,m] can be entered as .
  • can be entered as \[Divides] or EscdividesEsc.
Introduced in 2007