How many 6-digit whole numbers have the digits 2, 0, 2, and 2 as a 4-digit consecutively ordered block with no other digits between them?
ohno! if your hw is already due before i said this, then sorry! :'(
so there are 3 choices:
1: \(xy2022\)
for this one, x can be 1-9 and y can be 0-9. 9x10=90 choices
2: \(2022xy\)
for this one, x and y can be 0-9, so 10x10=100 choices
3: \(x2022y\)
for this one, 9x10=90 choices
total=90+100+90=280 choices!