A six digit a2751b can be divided by 99 to find a and B

A six digit a2751b can be divided by 99 to find a and B

Characteristics of numbers divisible by 11
Add a number from the right to the left, and then calculate the difference between the odd and even digits. If the difference is a multiple of 11 (including 0), then the original number must be divisible by 11
Characteristics of numbers divisible by 9
The sum of the numbers is a multiple of 9
A+2+7+5+1+B=9m
2+5+B-(A+7+1)=11n
A+B+15=9m
B-A-1=11n
AB is a positive integer and belongs to 1-9
So obviously, n can only be 0 and M can only be 2
A+B+15=18
B-A-1=0
The solution is a = 1, B = 2
Substitution test, 127512 / 99 = 1288