A generalized Collatz problem ((mx + b mod n) instead of 3x+1 in Z) is undecidable.