This is a constrained case-based simultaneous linear equation. Regarding the 5 digit Kaprekar problem, a considerable amount of computation has already been performed and as a consequence it is known that there is no kernel value, and all 5 digit numbers enter one of the following loops.