Maths Olympiad Prep

Track / Stage 1 / 165 of 240 #165 of 2444

Problem 165

Number theory Difficulty 1.4 Multiple choice CEMC Pascal · Canada · 2022

How many of the integers from 1 to 100, inclusive, have at least
one digit equal to 6?

Pick one

Next problem →

Official solution

The integers between 1 and 100 that have a ones digit equal to 6
are 6,16,26,36,46,56,66,76,86,966, 16, 26, 36, 46, 56, 66, 76, 86, 96 of which there are 10.

The additional integers between 1 and 100 that have a tens digits equal
to 6 are 60,61,62,63,64,65,67,68,6960, 61, 62, 63, 64, 65, 67, 68, 69 of which there are 9. (Note that 66 was included in the
first list and not in the second list since we are counting integers
rather than total number of 6s).

Since the digit 6 must occur as either the ones digit or the tens digit,
there are 10+9=1910 + 9 = 19 integers
between 1 and 100 with at least 1 digit equal to 6.

Source: CEMC, University of Waterloo, licensed CC-BY-NC-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.