Miyuki texted a six-digit integer to Greer. Two of the digits of
the six-digit integer were 3s. Unfortunately, the two 3s that Miyuki
texted did not appear and Greer instead received the four-digit integer
2022. The number of possible six-digit integers that Miyuki could have
texted is
Problem 590
Pick one
Official solution
The six-digit integer that Miyuki sent included the digits 2022
in that order along with two 3s.
If the two 3s were consecutive digits, there are 5 possible integers:
We can think about the pair of 3s being
moved from left to right through the integer.
If the two 3s are not consecutive digits, there are 10 possible pairs of
locations for the 3s: 1st/3rd, 1st/4th, 1st/5th, 1st/6th, 2nd/4th,
2nd/5th, 2nd/6th, 3rd/5th, 3rd/6th, 4th/6th.
These give the following integers: (We can think
about moving the leftmost 3 from left to right through the integer and
finding all of the possible locations for the second 3.)
In total, there are thus $5 + 10 =
15$ possible six-digit integers that Miyuki could have
texted.