An office building has elevator buttons numbered from 1 to 50. Due to a software glitch, the elevator computer completely ignores any floor number that contains the digit '4' or is a multiple of 4. How many total floors can the elevator actually visit?
27 floors
Out of 50 floors: multiples of 4 are 12 numbers (4, 8, 12... 48). Floors containing '4' are: 4, 14, 24, 34, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49 (14 numbers). Overlap (multiples of 4 that also contain 4): 4, 24, 44, 48 (4 numbers). Total invalid = 12 + 14 - 4 = 22. Valid floors = 50 - 22 = 28. Wait, let's verify: 50 - 22 = 28 floors.
About this riddle
Logic riddles give you a few facts and ask what must be true. List what you know, cross out what cannot be, and see what is left.
Difficulty: Hard. More like this: Logic riddles with answers or try Einstein's Logic Grid for a different kind of puzzle.
More logic riddles
Three boxes are placed on a table. One contains gold, one contains silver, and one is empty. Each box has a statement written on it, but only one statement is true: - Box 1 (Gold box): 'The gold is in this box.' - Box 2 (Silver box): 'The gold is not in this box.' - Box 3 (Empty box): 'The silver is in Box 2.' Which box contains the gold?
I grow smaller the more I work, and I leave behind a trail of fine dust. I have a metallic head, but no thoughts. What am I?
The butterfly is smaller than the bird, and the bird is smaller than the seed. Which one is the biggest?
If two days ago was the day before Thursday, what day of the week will it be two days after tomorrow?
In a 5-runner race (A, B, C, D, E), A finished ahead of B, but behind C. D finished ahead of C, but behind E. Who finished third?
In a certain non-leap year, January 1st fell on a Tuesday. On what day of the week did October 1st fall in that same year?

