Problem 53130. Easy Sequences 55: "Ugly" Rectangles?
A positive integer n is called a regular number, if and only if there exist a non-negative integer k, such that . For some reason, such a number is also refered to as an ugly number. Below are the first few regular numbers:
We say that an integer-sided rectangle is a "regular" rectangle if its area is a regular number. In the figure below, the red-colored rectanges are regular, while the blue ones are not.
All regular rectangles whose areas are less than equal to are listed below:
And their total area is:
For a given area limit a, find the total area of all regular rectangles with areas less than equal a.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers4
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6232 Solvers
-
Back to basics - mean of corner elements of a matrix
416 Solvers
-
Self-similarity 1 - Every other term
59 Solvers
-
calculate PI without using pi function
95 Solvers
-
Goldbach's marginal conjecture - Write integer as sum of three primes
63 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!