code: def trailing(n):
      """Count the number of trailing zero digits in the binary
      representation of n, i.e. determine the largest power of 2
      that divides n.
  
      Examples
      ========
  
      >>> from sympy import trailing
      >>> trailing(128)
      7
      >>> trailing(63)
      0
  
      See Also
      ========
      sympy.ntheory.factor_.multiplicity
  
      """
      if not n:
          return 0
      return bit_scan1(int(n))
  
file_path: sympy/sympy/core/intfunc.py
imports: import math
  import sys
  from functools import lru_cache
  from .sympify import sympify
  from .singleton import S
  from sympy.external.gmpy import gcd, lcm, sqrt, iroot, bit_scan1, gcdext
  from sympy.utilities.misc import as_int, filldedent
label_desc: Use image node_id 3 for calling a global function with example usage: trailing(n) and returns: bit_scan1, int