I am a prime number between 20 and 40. Subtract 1 from me, and the result is divisible by 6. Add 1 to me, and the result is a multiple of 8. What number am I?
31
The primes between 20 and 40 are 23, 29, 31, and 37. 31 - 1 = 30 (divisible by 6), and 31 + 1 = 32 (a multiple of 8).
About this riddle
Math riddles hide a calculation inside a short story. Pull out the numbers, work out what is being asked, and watch for a trick such as a unit change.
Difficulty: Medium. More like this: Math riddles with answers or try Target 24 for a different kind of puzzle.
More math riddles
Kai has 6 snowballs and finds 4 more. How many snowballs does Kai have now?
Sam has 19 flowers and Max has 3. How many more flowers does Sam have?
Max has 4 rainbows. Ana has twice as many. How many rainbows do they have together?
A lily pad doubles in size every single day. If it completely covers a pond in 30 days, on which day was the pond exactly half covered?
If 3 monkeys can eat 3 bananas in 3 minutes, how many monkeys are needed to eat 100 bananas in 100 minutes?
Two candles of equal height are lit simultaneously. One burns down completely in 4 hours, while the other burns down completely in 3 hours. Assuming each burns at a constant rate, after how many hours will one candle be exactly twice as tall as the other?

