36165397 ÷ 687 
We want to figure out the number of times 36165397 can be divided by 687.

Advancing to step 1:
When dividing 3 by 687, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 687

Moving on to step 2:
If we divide 36 by 687, we get 0 and a remainder of 36.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 36 and we're left with 36.
Bring next digit (1) of the dividend behind the 36 and repeat the process: 361 / 687

On to step 3:
687 goes into 361 0 times with a remainder of 361.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 361 and we're left with 361.
Take the next digit (6) from the dividend and append it to 361, then repeat: 3616 / 687

On to step 4:
687 goes into 3616 5 times with a remainder of 181.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtract 3435 from 3616 to get 181.
Grab the next digit (5) from the dividend, add it to 181, then carry on: 1815 / 687

On to step 5:
1815 divided by 687 is 2 with a remainder of 441.
The number 2 becomes the next digit in our result. 
Result so far: 52.0
Subtract 1374 from 1815 to get 441.
Fetch the next digit (3) from the dividend, attach it to 441 and continue: 4413 / 687

Advancing to step 6:
When dividing 4413 by 687, we get 6 with a remainder of 291.
Record the quotient 6 as the next digit in the result. 
Result so far: 526.0
Subtract 4122 from 4413 to get 291.
Fetch the next digit (9) from the dividend, attach it to 291 and continue: 2919 / 687

Moving on to step 7:
When dividing 2919 by 687, we get 4 with a remainder of 171.
Put 4 as the next digit of the answer. 
Result so far: 5264.0
If we take 2748 away from 2919, we end up with 171.
Bring next digit (7) of the dividend behind the 171 and repeat the process: 1717 / 687

Let's proceed to step 8:
1717 divided by 687 is 2 with a remainder of 343.
The number 2 becomes the next digit in our result. 
Result so far: 52642.0
Deduct 1374 from 1717 and we're left with 343.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3430, and continue the process.

Moving on to step 9:
When dividing 3430 by 687, we get 4 with a remainder of 682.
Put 4 as the next digit of the answer. 
Result so far: 52642.4
Subtracting 2748 from 3430 leaves us with 682.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6820, and continue the process.

Let's proceed to step 10:
687 goes into 6820 9 times with a remainder of 637.
The number 9 becomes the next digit in our result. 
Result so far: 52642.49
Subtract 6183 from 6820 to get 637.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6370, and continue the process.

Moving on to step 11:
If we divide 6370 by 687, we get 9 and a remainder of 187.
Use 9 as the next digit of our solution. 
Result so far: 52642.499
If we take 6183 away from 6370, we end up with 187.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1870, and continue the process.

The final outcome is 52642.499, with a leftover of 0.0187.