A positive integer is called wonderful if it has the same remainder when it is divided by 18 and 33. How many four digit wonderful numbers are there?
There are:
818 four-digit "wondeful" numbers
P.S. These numbers were found using C++ programming language.