Let's divide 40125877 by 81
We want to figure out the number of times 40125877 can be divided by 81.

Going ahead to step 1:
When dividing 4 by 81, we get 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 81

Going ahead to step 2:
When dividing 40 by 81, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Take the next digit (1) from the dividend and append it to 40, then repeat: 401 / 81

Step 3:
81 goes into 401 4 times with a remainder of 77.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Deduct 324 from 401 and we're left with 77.
Grab the next digit (2) from the dividend, add it to 77, then carry on: 772 / 81

On to step 4:
772 divided by 81 is 9 with a remainder of 43.
Write down 9 as next digit of the result. 
Result so far: 49.0
The remainder is 43 after subtracting 729 from 772.
Take the next digit (5) from the dividend and append it to 43, then repeat: 435 / 81

Going ahead to step 5:
If we divide 435 by 81, we get 5 and a remainder of 30.
Write down 5 as next digit of the result. 
Result so far: 495.0
Subtracting 405 from 435 leaves us with 30.
Grab the next digit (8) from the dividend, add it to 30, then carry on: 308 / 81

Moving on to step 6:
The number 81 fits into 308 3 times, leaving a remainder of 65.
Use 3 as the next digit of our solution. 
Result so far: 4953.0
Deduct 243 from 308 and we're left with 65.
Bring next digit (7) of the dividend behind the 65 and repeat the process: 657 / 81

Advancing to step 7:
The number 81 fits into 657 8 times, leaving a remainder of 9.
The number 8 becomes the next digit in our result. 
Result so far: 49538.0
Deduct 648 from 657 and we're left with 9.
Bring next digit (7) of the dividend behind the 9 and repeat the process: 97 / 81

Going ahead to step 8:
81 can be fit into 97 1 times, resulting in a remainder of 16.
The next digit of our result is 1. 
Result so far: 495381.0
Deduct 81 from 97 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 9:
The number 81 fits into 160 1 times, leaving a remainder of 79.
Put 1 as the next digit of the answer. 
Result so far: 495381.1
If we take 81 away from 160, we end up with 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Step 10:
The number 81 fits into 790 9 times, leaving a remainder of 61.
Use 9 as the next digit of our solution. 
Result so far: 495381.19
If we take 729 away from 790, we end up with 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

On to step 11:
If we divide 610 by 81, we get 7 and a remainder of 43.
Record the quotient 7 as the next digit in the result. 
Result so far: 495381.197
Deduct 567 from 610 and we're left with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Going ahead to step 12:
When dividing 430 by 81, we get 5 with a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 495381.1975
Deduct 405 from 430 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 13:
When dividing 250 by 81, we get 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 495381.19753
If we subtract 243 from 250, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 14:
If we divide 70 by 81, we get 0 and a remainder of 70.
Record the quotient 0 as the next digit in the result. 
Result so far: 495381.19753
Subtracting 0 from 70 leaves us with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Going ahead to step 15:
When dividing 700 by 81, we get 8 with a remainder of 52.
Record the quotient 8 as the next digit in the result. 
Result so far: 495381.1975308
Subtracting 648 from 700 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Let's proceed to step 16:
The number 81 fits into 520 6 times, leaving a remainder of 34.
The number 6 becomes the next digit in our result. 
Result so far: 495381.19753086
Deduct 486 from 520 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

The final outcome is 495381.19753086, with a leftover of 3.4e-08.