We divide 787864 by 20
We're looking to find how many times 20 goes into 787864.

Going ahead to step 1:
20 goes into 7 0 times with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 20

Step 2:
When dividing 78 by 20, we get 3 with a remainder of 18.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 60 from 78 to get 18.
Fetch the next digit (7) from the dividend, attach it to 18 and continue: 187 / 20

Step 3:
If we divide 187 by 20, we get 9 and a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 39.0
If we take 180 away from 187, we end up with 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 20

Moving on to step 4:
20 goes into 78 3 times with a remainder of 18.
Record the quotient 3 as the next digit in the result. 
Result so far: 393.0
If we take 60 away from 78, we end up with 18.
Include the next digit (6) from the dividend after 18, then repeat: 186 / 20

Advancing to step 5:
The number 20 fits into 186 9 times, leaving a remainder of 6.
Use 9 as the next digit of our solution. 
Result so far: 3939.0
If we subtract 180 from 186, we get 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 20

Let's proceed to step 6:
If we divide 64 by 20, we get 3 and a remainder of 4.
The next digit of our result is 3. 
Result so far: 39393.0
If we subtract 60 from 64, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 7:
The number 20 fits into 40 2 times, leaving a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 39393.2
Deduct 40 from 40 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
20 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 39393.2
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
0 divided by 20 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 39393.2
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 39393.2, and the remainder is 0.0.