import math


def dimension_of_bounding_square(number):
    """Find the smallest binding square, e.g.
    1x1, 3x3, 5x5
    Approach is to assume that the number is the largest
    that the bounding square can contain.
    Hence taking the square root will find the length of the
    side of the bounding square.
    The actual bounding squares all have integer length that is odd
    ( due to the wrapping action of forming a spiral)
    Hence find the actual length by rounding the square root to the next
    integer odd number."""
    approximate_dimension = math.ceil((math.sqrt(number)))
    return approximate_dimension + (1 - (approximate_dimension % 2))