n-th term divisible by a, b or c (#9019) - Basecamp