Unit 1: Number Theory Rectangular Array: An arrangement of objects in rows and columns that form a rectangle. All rows have the same number of objects and all columns have…