Problem

Source:

Tags: number theory, Digits, multiple, divisible



How many numbers $\overline{abcd}$ with different digits satisfy the following property: if we replace the largest digit with the digit $1$ results in a multiple of $30$?