If you can only make one rectangle, your number's prime. If you can make more than one, it's composite.
Given P = Prime number then you can build (P-1)/2 number of rectangles given any prime number. All prime numbers are odd and you would need two squares to make a rectangle. Given that you need two squares to build a rectangle, you divide your prime number by two to get the number of "pairs" of squares and thus the number of rectangles you can build. Since the number 2 does not divide evenly into an odd number - all prime numbers are odd - then you either subtract one from the prime number before dividing or discard the remainder if you choose not to subtract one before dividing.
81 - 7
16 - 9 = 7.
25 = 23 + 2
If you can only make one rectangle, your number's prime. If you can make more than one, it's composite.
Given P = Prime number then you can build (P-1)/2 number of rectangles given any prime number. All prime numbers are odd and you would need two squares to make a rectangle. Given that you need two squares to build a rectangle, you divide your prime number by two to get the number of "pairs" of squares and thus the number of rectangles you can build. Since the number 2 does not divide evenly into an odd number - all prime numbers are odd - then you either subtract one from the prime number before dividing or discard the remainder if you choose not to subtract one before dividing.
Square it.
All squares are rectangles, but not all rectangles are squares. Basically, a square is a rectangle where all sides are the same length. However, providing that the width is half of the length, or vice versa, and you join the two rectangles along the one of the sides that is longer, two rectangles can make a square. Example: 1x2 rectangle joined with another 1x2 rectangle will make a 2x2 square.
If you can make more than one rectangle, it's a composite number. If you can only make one, it's prime.
81 - 7
You can make three rectangles. Remember that a square can also be a rectangle.5x14x23x3
SQUARE
I might be reading this incorrectly, but it seems to me that I can take two prime numbers, 3 and 3, and make the square number nine out of them. This is also true of all the other prime numbers.
16 - 9 = 7.
25 = 23 + 2
Assuming that you are asking about a rectangular or square tile, the answer is one--Squares are rectangles with sides of equal lenght.