If a, b,& c are positive integers, what is a formula for all the integer values of n such that (an+b)/c is an integer?
For sets {a,b,c} that allow a solution, all the solution n's should be expressible in the form $n_k \equiv f(a,b,c,k)$ where k is an arbitrary indexing integer.
I re-edited this because a couple of answers below state the obvious about necessary/sufficient conditions but don't answer the question.
The necessary and sufficient condition is that ax+b should be a multiple of c. Then Suppose $(ax+b)/c =p$ where p is any integer. Then $n=(pc-b)/a$.