Let's divide 40174123 by 521
We want to divide 40174123 by 521.

Let's proceed to step 1:
If we divide 4 by 521, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 521

Let's proceed to step 2:
If we divide 40 by 521, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Grab the next digit (1) from the dividend, add it to 40, then carry on: 401 / 521

Moving on to step 3:
401 divided by 521 is 0 with a remainder of 401.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 401 and we're left with 401.
Fetch the next digit (7) from the dividend, attach it to 401 and continue: 4017 / 521

Advancing to step 4:
The number 521 fits into 4017 7 times, leaving a remainder of 370.
The next digit of our result is 7. 
Result so far: 7.0
Deduct 3647 from 4017 and we're left with 370.
Grab the next digit (4) from the dividend, add it to 370, then carry on: 3704 / 521

Moving on to step 5:
521 can be fit into 3704 7 times, resulting in a remainder of 57.
Put 7 as the next digit of the answer. 
Result so far: 77.0
Deduct 3647 from 3704 and we're left with 57.
Fetch the next digit (1) from the dividend, attach it to 57 and continue: 571 / 521

Moving on to step 6:
The number 521 fits into 571 1 times, leaving a remainder of 50.
Put 1 as the next digit of the answer. 
Result so far: 771.0
If we take 521 away from 571, we end up with 50.
Fetch the next digit (2) from the dividend, attach it to 50 and continue: 502 / 521

Moving on to step 7:
502 divided by 521 is 0 with a remainder of 502.
The number 0 becomes the next digit in our result. 
Result so far: 7710.0
If we take 0 away from 502, we end up with 502.
Take the next digit (3) from the dividend and append it to 502, then repeat: 5023 / 521

Step 8:
5023 divided by 521 is 9 with a remainder of 334.
The number 9 becomes the next digit in our result. 
Result so far: 77109.0
If we take 4689 away from 5023, we end up with 334.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3340, and continue the process.

On to step 9:
521 can be fit into 3340 6 times, resulting in a remainder of 214.
The next digit of our result is 6. 
Result so far: 77109.6
Subtract 3126 from 3340 to get 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2140, and continue the process.

Let's proceed to step 10:
521 can be fit into 2140 4 times, resulting in a remainder of 56.
Use 4 as the next digit of our solution. 
Result so far: 77109.64
The remainder is 56 after subtracting 2084 from 2140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 11:
560 divided by 521 is 1 with a remainder of 39.
The next digit of our result is 1. 
Result so far: 77109.641
Subtracting 521 from 560 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Advancing to step 12:
390 divided by 521 is 0 with a remainder of 390.
Record the quotient 0 as the next digit in the result. 
Result so far: 77109.641
Subtract 0 from 390 to get 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3900, and continue the process.

Step 13:
521 can be fit into 3900 7 times, resulting in a remainder of 253.
Put 7 as the next digit of the answer. 
Result so far: 77109.64107
If we subtract 3647 from 3900, we get 253.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2530, and continue the process.

Let's proceed to step 14:
521 can be fit into 2530 4 times, resulting in a remainder of 446.
Use 4 as the next digit of our solution. 
Result so far: 77109.641074
If we subtract 2084 from 2530, we get 446.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4460, and continue the process.

Advancing to step 15:
When dividing 4460 by 521, we get 8 with a remainder of 292.
The number 8 becomes the next digit in our result. 
Result so far: 77109.6410748
If we take 4168 away from 4460, we end up with 292.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2920, and continue the process.

Step 16:
521 goes into 2920 5 times with a remainder of 315.
Record the quotient 5 as the next digit in the result. 
Result so far: 77109.64107485
Deduct 2605 from 2920 and we're left with 315.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

The final outcome is 77109.64107485, with a leftover of 3.15e-07.