Problem

Source:

Tags: number theory



Determine for which positive integers $n$ there exists a positive integer $A$ such that • $A$ is divisible by $2022$, • the decimal expression of $A$ contains only digits $0$ and $7$, • the decimal expression of $A$ contains exactly $n$ times the digit $7$.