Problem

Source: Mathematics Regional Olympiad of Mexico Northeast 2016 P6

Tags: number theory, Digits



A positive integer $N$ is called northern if for each digit $d > 0$, there exists a divisor of $N$ whose last digit is $d$. How many northern numbers less than $2016$ are there with the fewest number of divisors as possible?