We look at the division of 386791 by 36 
We want to figure out the number of times 386791 can be divided by 36.

Going ahead to step 1:
36 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 36

Let's proceed to step 2:
36 goes into 38 1 times with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 2 after subtracting 36 from 38.
Grab the next digit (6) from the dividend, add it to 2, then carry on: 26 / 36

On to step 3:
36 can be fit into 26 0 times, resulting in a remainder of 26.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Subtracting 0 from 26 leaves us with 26.
Include the next digit (7) from the dividend after 26, then repeat: 267 / 36

On to step 4:
If we divide 267 by 36, we get 7 and a remainder of 15.
The number 7 becomes the next digit in our result. 
Result so far: 107.0
If we take 252 away from 267, we end up with 15.
Bring next digit (9) of the dividend behind the 15 and repeat the process: 159 / 36

Step 5:
If we divide 159 by 36, we get 4 and a remainder of 15.
Write down 4 as next digit of the result. 
Result so far: 1074.0
Subtract 144 from 159 to get 15.
Fetch the next digit (1) from the dividend, attach it to 15 and continue: 151 / 36

Moving on to step 6:
36 goes into 151 4 times with a remainder of 7.
Record the quotient 4 as the next digit in the result. 
Result so far: 10744.0
If we take 144 away from 151, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
70 divided by 36 is 1 with a remainder of 34.
Record the quotient 1 as the next digit in the result. 
Result so far: 10744.1
The remainder is 34 after subtracting 36 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 8:
When dividing 340 by 36, we get 9 with a remainder of 16.
Use 9 as the next digit of our solution. 
Result so far: 10744.19
The remainder is 16 after subtracting 324 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 9:
When dividing 160 by 36, we get 4 with a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 10744.194
Subtract 144 from 160 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 10:
When dividing 160 by 36, we get 4 with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 10744.1944
The remainder is 16 after subtracting 144 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Our division results in 10744.1944 with a remaining 0.00016.