Imagine that you are an employee of Prime Construction, a company that specializes in building structures based on prime numbers and other mathematical peculiarities. Today, you are tasked with building a brick wall. Each brick has the dimensions
where
is a prime number. You have plenty of each size of brick, but building a wall with just one size of brick would be boring. In fact, building a wall with any two rows the same would be boring, and Prime Construction won't stand for that! If your brick wall must be 100 units tall, and each brick is laid with its longest side parallel to the ground, what is the minimum length the wall can have?
Details and Assumptions
No two rows can have the same exact combination of bricks. For example, if you were building a wall of length , if you laid down a brick of length and then one of length , you couldn't make another row by laying down a then a .
The wall must be a perfect rectangular prism with the dimensions where is your answer, AKA the minimum length of the wall.
You can't cut the bricks
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
This question is equivalent to finding the smallest number that can be written as the sum of prime numbers in at least 1 0 0 distinct ways. According to A000607 , the first number that works is 3 1 , as it can be partitioned by prime numbers in 1 1 1 ways.