We're dividing 81235171 by 138 
We're looking to find how many times 138 goes into 81235171.

Step 1:
If we divide 8 by 138, we get 0 and a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (1) from the dividend, attach it to 8 and continue: 81 / 138

Going ahead to step 2:
138 goes into 81 0 times with a remainder of 81.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 81, we get 81.
Take the next digit (2) from the dividend and append it to 81, then repeat: 812 / 138

Moving on to step 3:
812 divided by 138 is 5 with a remainder of 122.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtracting 690 from 812 leaves us with 122.
Include the next digit (3) from the dividend after 122, then repeat: 1223 / 138

Step 4:
138 goes into 1223 8 times with a remainder of 119.
Record the quotient 8 as the next digit in the result. 
Result so far: 58.0
If we subtract 1104 from 1223, we get 119.
Take the next digit (5) from the dividend and append it to 119, then repeat: 1195 / 138

Let's proceed to step 5:
138 can be fit into 1195 8 times, resulting in a remainder of 91.
Use 8 as the next digit of our solution. 
Result so far: 588.0
Deduct 1104 from 1195 and we're left with 91.
Append the next digit (1) from the dividend to 91 and continue with: 911 / 138

Going ahead to step 6:
The number 138 fits into 911 6 times, leaving a remainder of 83.
The number 6 becomes the next digit in our result. 
Result so far: 5886.0
Subtracting 828 from 911 leaves us with 83.
Include the next digit (7) from the dividend after 83, then repeat: 837 / 138

On to step 7:
When dividing 837 by 138, we get 6 with a remainder of 9.
Record the quotient 6 as the next digit in the result. 
Result so far: 58866.0
Deduct 828 from 837 and we're left with 9.
Grab the next digit (1) from the dividend, add it to 9, then carry on: 91 / 138

Let's proceed to step 8:
When dividing 91 by 138, we get 0 with a remainder of 91.
The number 0 becomes the next digit in our result. 
Result so far: 588660.0
If we take 0 away from 91, we end up with 91.
Since there are no more digits in the dividend, we add a zero to the remainder making it 910, and continue the process.

Moving on to step 9:
910 divided by 138 is 6 with a remainder of 82.
Write down 6 as next digit of the result. 
Result so far: 588660.6
Subtracting 828 from 910 leaves us with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Step 10:
The number 138 fits into 820 5 times, leaving a remainder of 130.
Record the quotient 5 as the next digit in the result. 
Result so far: 588660.65
The remainder is 130 after subtracting 690 from 820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Moving on to step 11:
1300 divided by 138 is 9 with a remainder of 58.
Use 9 as the next digit of our solution. 
Result so far: 588660.659
Subtract 1242 from 1300 to get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Step 12:
580 divided by 138 is 4 with a remainder of 28.
The next digit of our result is 4. 
Result so far: 588660.6594
If we take 552 away from 580, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 13:
When dividing 280 by 138, we get 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 588660.65942
Deduct 276 from 280 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 14:
138 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 588660.65942
If we take 0 away from 40, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 15:
The number 138 fits into 400 2 times, leaving a remainder of 124.
Put 2 as the next digit of the answer. 
Result so far: 588660.6594202
If we take 276 away from 400, we end up with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Going ahead to step 16:
The number 138 fits into 1240 8 times, leaving a remainder of 136.
Write down 8 as next digit of the result. 
Result so far: 588660.65942028
If we take 1104 away from 1240, we end up with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

After the division, we end up with 588660.65942028 and a remainder of 1.36e-07.