I'll celebrate my comeback to Cody with this one easy problem...
----------------
The rectangle below is special:
Its area is
which equal to
. We call such rectangle a factorial rectangle, which is an integer-sided rectangle with an area equal to a factorial number.
In this problem, we want to know how many are these factorial rectangles.
For a given integer n, we define the function
as the number of factorial rectangles with area
The factorial rectangles with area
are as follows:
, with rotations not allowed. Hence, 
Write a function that will calculate
, defined as follows:
For
, we are given:
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers6
Suggested Problems
-
Return a list sorted by number of occurrences
2890 Solvers
-
604 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
399 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2143 Solvers
-
1840 Solvers
More from this Author116
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!