4055022 divided by 786 
We want to divide 4055022 by 786.

Moving on to step 1:
If we divide 4 by 786, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 786

Advancing to step 2:
786 goes into 40 0 times with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Grab the next digit (5) from the dividend, add it to 40, then carry on: 405 / 786

Advancing to step 3:
If we divide 405 by 786, we get 0 and a remainder of 405.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 405 leaves us with 405.
Fetch the next digit (5) from the dividend, attach it to 405 and continue: 4055 / 786

Going ahead to step 4:
786 can be fit into 4055 5 times, resulting in a remainder of 125.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we take 3930 away from 4055, we end up with 125.
Bring next digit (0) of the dividend behind the 125 and repeat the process: 1250 / 786

Moving on to step 5:
1250 divided by 786 is 1 with a remainder of 464.
Write down 1 as next digit of the result. 
Result so far: 51.0
If we subtract 786 from 1250, we get 464.
Append the next digit (2) from the dividend to 464 and continue with: 4642 / 786

Going ahead to step 6:
The number 786 fits into 4642 5 times, leaving a remainder of 712.
Write down 5 as next digit of the result. 
Result so far: 515.0
The remainder is 712 after subtracting 3930 from 4642.
Bring next digit (2) of the dividend behind the 712 and repeat the process: 7122 / 786

Going ahead to step 7:
If we divide 7122 by 786, we get 9 and a remainder of 48.
Record the quotient 9 as the next digit in the result. 
Result so far: 5159.0
Subtracting 7074 from 7122 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

On to step 8:
786 goes into 480 0 times with a remainder of 480.
Put 0 as the next digit of the answer. 
Result so far: 5159.0
If we subtract 0 from 480, we get 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Step 9:
When dividing 4800 by 786, we get 6 with a remainder of 84.
Use 6 as the next digit of our solution. 
Result so far: 5159.06
Deduct 4716 from 4800 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Going ahead to step 10:
If we divide 840 by 786, we get 1 and a remainder of 54.
Record the quotient 1 as the next digit in the result. 
Result so far: 5159.061
Deduct 786 from 840 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Step 11:
The number 786 fits into 540 0 times, leaving a remainder of 540.
Put 0 as the next digit of the answer. 
Result so far: 5159.061
Subtract 0 from 540 to get 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

Step 12:
5400 divided by 786 is 6 with a remainder of 684.
Record the quotient 6 as the next digit in the result. 
Result so far: 5159.06106
If we subtract 4716 from 5400, we get 684.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6840, and continue the process.

Advancing to step 13:
When dividing 6840 by 786, we get 8 with a remainder of 552.
Use 8 as the next digit of our solution. 
Result so far: 5159.061068
If we subtract 6288 from 6840, we get 552.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5520, and continue the process.

Advancing to step 14:
786 goes into 5520 7 times with a remainder of 18.
Record the quotient 7 as the next digit in the result. 
Result so far: 5159.0610687
Subtracting 5502 from 5520 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 15:
786 can be fit into 180 0 times, resulting in a remainder of 180.
Put 0 as the next digit of the answer. 
Result so far: 5159.0610687
If we take 0 away from 180, we end up with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Our division results in 5159.0610687 with a remaining 1.8e-07.