Find the biggest positive integer $n$ for which the number $(n!)^6-6^n$ is divisible by $2022$.
Source: Belarusian National Olympiad 2023
Tags: number theory
Find the biggest positive integer $n$ for which the number $(n!)^6-6^n$ is divisible by $2022$.