Mathematicians since Euclid have studied the properties of the golden ratio, including its appearance in the dimensions of a regular pentagon and in a golden rectangle , which can be cut into a square and a smaller rectangle with the same aspect ratio .