Let's divide 50877235 by 767
We want to figure out the number of times 50877235 can be divided by 767.

On to step 1:
If we divide 5 by 767, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 767

Going ahead to step 2:
767 goes into 50 0 times with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Include the next digit (8) from the dividend after 50, then repeat: 508 / 767

Going ahead to step 3:
767 goes into 508 0 times with a remainder of 508.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 508 after subtracting 0 from 508.
Grab the next digit (7) from the dividend, add it to 508, then carry on: 5087 / 767

On to step 4:
767 can be fit into 5087 6 times, resulting in a remainder of 485.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Deduct 4602 from 5087 and we're left with 485.
Take the next digit (7) from the dividend and append it to 485, then repeat: 4857 / 767

On to step 5:
The number 767 fits into 4857 6 times, leaving a remainder of 255.
The number 6 becomes the next digit in our result. 
Result so far: 66.0
Subtract 4602 from 4857 to get 255.
Fetch the next digit (2) from the dividend, attach it to 255 and continue: 2552 / 767

On to step 6:
2552 divided by 767 is 3 with a remainder of 251.
Record the quotient 3 as the next digit in the result. 
Result so far: 663.0
If we take 2301 away from 2552, we end up with 251.
Grab the next digit (3) from the dividend, add it to 251, then carry on: 2513 / 767

Advancing to step 7:
767 goes into 2513 3 times with a remainder of 212.
Write down 3 as next digit of the result. 
Result so far: 6633.0
If we take 2301 away from 2513, we end up with 212.
Bring next digit (5) of the dividend behind the 212 and repeat the process: 2125 / 767

Moving on to step 8:
767 goes into 2125 2 times with a remainder of 591.
Use 2 as the next digit of our solution. 
Result so far: 66332.0
Subtract 1534 from 2125 to get 591.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5910, and continue the process.

Step 9:
767 goes into 5910 7 times with a remainder of 541.
Write down 7 as next digit of the result. 
Result so far: 66332.7
Deduct 5369 from 5910 and we're left with 541.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5410, and continue the process.

Going ahead to step 10:
The number 767 fits into 5410 7 times, leaving a remainder of 41.
Record the quotient 7 as the next digit in the result. 
Result so far: 66332.77
If we take 5369 away from 5410, we end up with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

After the division, we end up with 66332.77 and a remainder of 0.041.