36877985 ÷ 782 
Our goal is to divide 36877985 by 782.

Advancing to step 1:
The number 782 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
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 / 782

Going ahead to step 2:
782 can be fit into 36 0 times, resulting in a remainder of 36.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 36 after subtracting 0 from 36.
Fetch the next digit (8) from the dividend, attach it to 36 and continue: 368 / 782

Advancing to step 3:
782 goes into 368 0 times with a remainder of 368.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 368 leaves us with 368.
Fetch the next digit (7) from the dividend, attach it to 368 and continue: 3687 / 782

Advancing to step 4:
782 can be fit into 3687 4 times, resulting in a remainder of 559.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 3128 from 3687 leaves us with 559.
Append the next digit (7) from the dividend to 559 and continue with: 5597 / 782

Let's proceed to step 5:
782 goes into 5597 7 times with a remainder of 123.
Record the quotient 7 as the next digit in the result. 
Result so far: 47.0
If we take 5474 away from 5597, we end up with 123.
Append the next digit (9) from the dividend to 123 and continue with: 1239 / 782

Moving on to step 6:
When dividing 1239 by 782, we get 1 with a remainder of 457.
Record the quotient 1 as the next digit in the result. 
Result so far: 471.0
If we take 782 away from 1239, we end up with 457.
Take the next digit (8) from the dividend and append it to 457, then repeat: 4578 / 782

Moving on to step 7:
782 goes into 4578 5 times with a remainder of 668.
Use 5 as the next digit of our solution. 
Result so far: 4715.0
Subtract 3910 from 4578 to get 668.
Bring next digit (5) of the dividend behind the 668 and repeat the process: 6685 / 782

Let's proceed to step 8:
782 goes into 6685 8 times with a remainder of 429.
The next digit of our result is 8. 
Result so far: 47158.0
The remainder is 429 after subtracting 6256 from 6685.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4290, and continue the process.

Moving on to step 9:
4290 divided by 782 is 5 with a remainder of 380.
Use 5 as the next digit of our solution. 
Result so far: 47158.5
Subtract 3910 from 4290 to get 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Going ahead to step 10:
782 goes into 3800 4 times with a remainder of 672.
Put 4 as the next digit of the answer. 
Result so far: 47158.54
The remainder is 672 after subtracting 3128 from 3800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6720, and continue the process.

Advancing to step 11:
6720 divided by 782 is 8 with a remainder of 464.
Write down 8 as next digit of the result. 
Result so far: 47158.548
Subtracting 6256 from 6720 leaves us with 464.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

Step 12:
The number 782 fits into 4640 5 times, leaving a remainder of 730.
The next digit of our result is 5. 
Result so far: 47158.5485
Subtracting 3910 from 4640 leaves us with 730.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7300, and continue the process.

Let's proceed to step 13:
The number 782 fits into 7300 9 times, leaving a remainder of 262.
The next digit of our result is 9. 
Result so far: 47158.54859
If we subtract 7038 from 7300, we get 262.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2620, and continue the process.

On to step 14:
782 goes into 2620 3 times with a remainder of 274.
The next digit of our result is 3. 
Result so far: 47158.548593
If we subtract 2346 from 2620, we get 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

Moving on to step 15:
782 can be fit into 2740 3 times, resulting in a remainder of 394.
The number 3 becomes the next digit in our result. 
Result so far: 47158.5485933
Subtract 2346 from 2740 to get 394.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3940, and continue the process.

The final outcome is 47158.5485933, with a leftover of 3.94e-06.