We're dividing 4187065 by 788 
We're looking to find how many times 788 goes into 4187065.

Step 1:
788 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 788

Let's proceed to step 2:
When dividing 41 by 788, we get 0 with a remainder of 41.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 41 to get 41.
Append the next digit (8) from the dividend to 41 and continue with: 418 / 788

Advancing to step 3:
If we divide 418 by 788, we get 0 and a remainder of 418.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 418 leaves us with 418.
Bring next digit (7) of the dividend behind the 418 and repeat the process: 4187 / 788

Step 4:
788 goes into 4187 5 times with a remainder of 247.
Use 5 as the next digit of our solution. 
Result so far: 5.0
The remainder is 247 after subtracting 3940 from 4187.
Fetch the next digit (0) from the dividend, attach it to 247 and continue: 2470 / 788

Moving on to step 5:
If we divide 2470 by 788, we get 3 and a remainder of 106.
Record the quotient 3 as the next digit in the result. 
Result so far: 53.0
Subtract 2364 from 2470 to get 106.
Include the next digit (6) from the dividend after 106, then repeat: 1066 / 788

Advancing to step 6:
The number 788 fits into 1066 1 times, leaving a remainder of 278.
Use 1 as the next digit of our solution. 
Result so far: 531.0
Deduct 788 from 1066 and we're left with 278.
Grab the next digit (5) from the dividend, add it to 278, then carry on: 2785 / 788

Let's proceed to step 7:
If we divide 2785 by 788, we get 3 and a remainder of 421.
The number 3 becomes the next digit in our result. 
Result so far: 5313.0
If we take 2364 away from 2785, we end up with 421.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4210, and continue the process.

Moving on to step 8:
The number 788 fits into 4210 5 times, leaving a remainder of 270.
The number 5 becomes the next digit in our result. 
Result so far: 5313.5
If we take 3940 away from 4210, we end up with 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Step 9:
788 can be fit into 2700 3 times, resulting in a remainder of 336.
Record the quotient 3 as the next digit in the result. 
Result so far: 5313.53
The remainder is 336 after subtracting 2364 from 2700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

On to step 10:
The number 788 fits into 3360 4 times, leaving a remainder of 208.
Write down 4 as next digit of the result. 
Result so far: 5313.534
If we take 3152 away from 3360, we end up with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Advancing to step 11:
2080 divided by 788 is 2 with a remainder of 504.
The next digit of our result is 2. 
Result so far: 5313.5342
If we subtract 1576 from 2080, we get 504.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5040, and continue the process.

Advancing to step 12:
If we divide 5040 by 788, we get 6 and a remainder of 312.
The number 6 becomes the next digit in our result. 
Result so far: 5313.53426
Subtract 4728 from 5040 to get 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

Going ahead to step 13:
788 can be fit into 3120 3 times, resulting in a remainder of 756.
Record the quotient 3 as the next digit in the result. 
Result so far: 5313.534263
If we subtract 2364 from 3120, we get 756.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7560, and continue the process.

Let's proceed to step 14:
788 goes into 7560 9 times with a remainder of 468.
Write down 9 as next digit of the result. 
Result so far: 5313.5342639
The remainder is 468 after subtracting 7092 from 7560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4680, and continue the process.

Moving on to step 15:
4680 divided by 788 is 5 with a remainder of 740.
The next digit of our result is 5. 
Result so far: 5313.53426395
If we take 3940 away from 4680, we end up with 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7400, and continue the process.

Our division results in 5313.53426395 with a remaining 7.4e-07.