Let's divide 40396023 by 857
We want to divide 40396023 by 857.

Advancing to step 1:
857 goes into 4 0 times with a remainder of 4.
The number 0 becomes the next digit in our result. 
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 / 857

Moving on to step 2:
857 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Include the next digit (3) from the dividend after 40, then repeat: 403 / 857

Advancing to step 3:
If we divide 403 by 857, we get 0 and a remainder of 403.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 403 to get 403.
Bring next digit (9) of the dividend behind the 403 and repeat the process: 4039 / 857

Let's proceed to step 4:
857 can be fit into 4039 4 times, resulting in a remainder of 611.
Write down 4 as next digit of the result. 
Result so far: 4.0
The remainder is 611 after subtracting 3428 from 4039.
Append the next digit (6) from the dividend to 611 and continue with: 6116 / 857

Moving on to step 5:
6116 divided by 857 is 7 with a remainder of 117.
Write down 7 as next digit of the result. 
Result so far: 47.0
Subtract 5999 from 6116 to get 117.
Fetch the next digit (0) from the dividend, attach it to 117 and continue: 1170 / 857

Going ahead to step 6:
857 goes into 1170 1 times with a remainder of 313.
Use 1 as the next digit of our solution. 
Result so far: 471.0
Deduct 857 from 1170 and we're left with 313.
Fetch the next digit (2) from the dividend, attach it to 313 and continue: 3132 / 857

Going ahead to step 7:
857 goes into 3132 3 times with a remainder of 561.
Write down 3 as next digit of the result. 
Result so far: 4713.0
Deduct 2571 from 3132 and we're left with 561.
Take the next digit (3) from the dividend and append it to 561, then repeat: 5613 / 857

Moving on to step 8:
When dividing 5613 by 857, we get 6 with a remainder of 471.
Use 6 as the next digit of our solution. 
Result so far: 47136.0
Subtract 5142 from 5613 to get 471.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4710, and continue the process.

Going ahead to step 9:
857 goes into 4710 5 times with a remainder of 425.
Write down 5 as next digit of the result. 
Result so far: 47136.5
Deduct 4285 from 4710 and we're left with 425.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4250, and continue the process.

Moving on to step 10:
857 can be fit into 4250 4 times, resulting in a remainder of 822.
Use 4 as the next digit of our solution. 
Result so far: 47136.54
Deduct 3428 from 4250 and we're left with 822.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8220, and continue the process.

Let's proceed to step 11:
If we divide 8220 by 857, we get 9 and a remainder of 507.
Write down 9 as next digit of the result. 
Result so far: 47136.549
If we take 7713 away from 8220, we end up with 507.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5070, and continue the process.

Going ahead to step 12:
When dividing 5070 by 857, we get 5 with a remainder of 785.
The number 5 becomes the next digit in our result. 
Result so far: 47136.5495
Subtract 4285 from 5070 to get 785.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7850, and continue the process.

Let's proceed to step 13:
857 can be fit into 7850 9 times, resulting in a remainder of 137.
Write down 9 as next digit of the result. 
Result so far: 47136.54959
If we subtract 7713 from 7850, we get 137.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1370, and continue the process.

Going ahead to step 14:
857 can be fit into 1370 1 times, resulting in a remainder of 513.
The next digit of our result is 1. 
Result so far: 47136.549591
If we take 857 away from 1370, we end up with 513.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5130, and continue the process.

On to step 15:
If we divide 5130 by 857, we get 5 and a remainder of 845.
Write down 5 as next digit of the result. 
Result so far: 47136.5495915
If we subtract 4285 from 5130, we get 845.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8450, and continue the process.

Going ahead to step 16:
8450 divided by 857 is 9 with a remainder of 737.
Record the quotient 9 as the next digit in the result. 
Result so far: 47136.54959159
If we subtract 7713 from 8450, we get 737.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7370, and continue the process.

The quotient of the division is 47136.54959159, and the remainder is 7.37e-07.