After your question I now understand that It was not a good example though.
Assuming two numbers are prime numbers. Since the ones place digit is the same for X and 4573236034X, (that is X for both numbers) the divisibility rule formula and approach for both numbers are the same. I will update my description accordingly. Thanks.