We look at the division of 787166 by 36 
We want to divide 787166 by 36.

Moving on to step 1:
When dividing 7 by 36, we get 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 36

Step 2:
If we divide 78 by 36, we get 2 and a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 72 from 78, we get 6.
Bring next digit (7) of the dividend behind the 6 and repeat the process: 67 / 36

Moving on to step 3:
67 divided by 36 is 1 with a remainder of 31.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
If we take 36 away from 67, we end up with 31.
Fetch the next digit (1) from the dividend, attach it to 31 and continue: 311 / 36

Advancing to step 4:
The number 36 fits into 311 8 times, leaving a remainder of 23.
The number 8 becomes the next digit in our result. 
Result so far: 218.0
If we subtract 288 from 311, we get 23.
Grab the next digit (6) from the dividend, add it to 23, then carry on: 236 / 36

Going ahead to step 5:
If we divide 236 by 36, we get 6 and a remainder of 20.
The next digit of our result is 6. 
Result so far: 2186.0
Subtracting 216 from 236 leaves us with 20.
Bring next digit (6) of the dividend behind the 20 and repeat the process: 206 / 36

Step 6:
36 can be fit into 206 5 times, resulting in a remainder of 26.
Put 5 as the next digit of the answer. 
Result so far: 21865.0
Subtracting 180 from 206 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 7:
The number 36 fits into 260 7 times, leaving a remainder of 8.
Put 7 as the next digit of the answer. 
Result so far: 21865.7
The remainder is 8 after subtracting 252 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 8:
When dividing 80 by 36, we get 2 with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 21865.72
Deduct 72 from 80 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 9:
36 goes into 80 2 times with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 21865.722
Subtracting 72 from 80 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 21865.722, and the remainder is 0.0008.