The answer is 168, 169. and 170.
It is easier if you divide 507 by 3 and try to figure out the answer from there.
8.7m questions
11.3m answers