Problem

Source: 2024 KJMO first round

Tags: combinatorics, counting



Find the number of 4 digit positive integers '$n$' that follow these. 1) the number of digit $ \le $ 6 2) $ 3 \mid n$, but $ 6 \nmid n $