It follows from di≥i and d6d2017=d4d2019=n that
2n=6d2017+4d2019≤d6d2017+d4d2019=2n.
Therefore d6=6 implying di=i for i=1,2,3,4,5,6 and thus n is divisible by 22⋅3⋅5. Since 2022=2⋅3⋅337 and 337 is a prime number it follows that n=2x⋅3y⋅5z for x≥2. All nice numbers are:
22⋅3⋅5336,22⋅3336⋅5,2336⋅3⋅52,2336⋅32⋅5.