I live in an apartment building which has a prime number of floors that can't be greater than 25 because of height restrictions. Everyday, as part of my effort to lose weight, I walk up the stairs from the ground floor to the roof. Each floor burns more and more calories following the sequence of odd numbers i.e. floor burns 1 calorie, floor burns 3 calories, and so on The combined calorie burning in the top 2 floors is greater than the total calorie burning in the first 9 floors.
How many floors does the building have?
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.
The sum of odd numbers (starting from 1) up to the n th term is 2 ( 1 + ( 2 n − 1 ) ) × n = 2 2 n 2 = n 2 . Now, let k be the number of floors that the building has. Then we have 9 2 < 8 1 < 8 5 < 2 1 . 2 5 < ⇒ k 2 − ( k − 2 ) 2 4 k − 4 4 k k ≤ 2 5 k = 2 2 , 2 3 , 2 4 , 2 5 . ( because of height restrictions ) ( because it’s prime ) Therefore, the building has 23 floors. □