If you write down all the whole numbers from 1 to 100 inclusive, how many times will you write the digit '7'?
20 times
The digit 7 appears in the units place 10 times (7, 17, 27, ..., 97) and in the tens place 10 times (70, 71, 72, ..., 79). 10 + 10 = 20.
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: Medium. More like this: Logic riddles with answers or try Einstein's Logic Grid for a different kind of puzzle.
More logic riddles
A farmer has a rectangular pasture divided into four equal smaller rectangular paddocks by one horizontal fence line and one vertical fence line crossing in the middle. He paints the outer perimeter fence white and all interior fence lines green. If there are 12 fence posts used exclusively for the interior green cross-fences, and 4 corner posts, how many total paddocks are there?
A warden offers three prisoners a chance at freedom. He shows them 3 red hats and 2 white hats. He blindfolds them, puts a hat on each, and hides the remaining two. Prisoner 1 (who sees P2 and P3) says 'I don't know my hat color.' Prisoner 2 (who sees P3) says 'I don't know my hat color.' Prisoner 3 (who is blindfolded and sees nobody) says 'I know my hat color!' What color is Prisoner 3's hat?
A clock tower takes 6 seconds to strike 4 o'clock (striking 4 times with equal intervals between strikes). How many seconds will it take to strike 8 o'clock?
A line goes: mitten, sled, mitten, sled, mitten. What comes next?
A merchant has 9 coins that look identical, but one is counterfeit and weighs slightly less than the rest. Using a two-pan balance scale without weights, what is the minimum number of weighings required to guarantee finding the counterfeit coin?
I grow smaller the more I heavy I become, and I disappear entirely when my work is finished. What am I?

