def binary_integer_format(integer: int,
                          number_of_bits: int) -> str:
    """
    Return binary representation of an integer
    :param integer:
    :param number_of_bits:
    NOTE: number of bits can be greater than minimal needed to represent integer
    :return:
    """
    return "{0:b}".format(integer).zfill(number_of_bits)