This is a project ispired by [url]http://demonstrations.wolfram.com/HowManyRectanglesAreThere/[/url] It calculates all possible rectangles Change m and n by dragging, or by using the arrow keys and the buttons 'm' and 'n'. Press space to draw grid/calculate