Category: General

Subtraction principle

How many positive integers less than 10000 are there which contain a digit 2 or 3? Is this the right derivation? $$9\times9\times9\times8=5832$$ $$5832-2=...