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

On to step 1:
5 divided by 76 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 76

Advancing to step 2:
50 divided by 76 is 0 with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Fetch the next digit (2) from the dividend, attach it to 50 and continue: 502 / 76

On to step 3:
When dividing 502 by 76, we get 6 with a remainder of 46.
Write down 6 as next digit of the result. 
Result so far: 6.0
Deduct 456 from 502 and we're left with 46.
Append the next digit (7) from the dividend to 46 and continue with: 467 / 76

On to step 4:
When dividing 467 by 76, we get 6 with a remainder of 11.
Use 6 as the next digit of our solution. 
Result so far: 66.0
Deduct 456 from 467 and we're left with 11.
Include the next digit (8) from the dividend after 11, then repeat: 118 / 76

Going ahead to step 5:
If we divide 118 by 76, we get 1 and a remainder of 42.
Write down 1 as next digit of the result. 
Result so far: 661.0
Subtracting 76 from 118 leaves us with 42.
Bring next digit (1) of the dividend behind the 42 and repeat the process: 421 / 76

Step 6:
When dividing 421 by 76, we get 5 with a remainder of 41.
Put 5 as the next digit of the answer. 
Result so far: 6615.0
Subtract 380 from 421 to get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Step 7:
76 can be fit into 410 5 times, resulting in a remainder of 30.
Write down 5 as next digit of the result. 
Result so far: 6615.5
Subtract 380 from 410 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 8:
The number 76 fits into 300 3 times, leaving a remainder of 72.
The number 3 becomes the next digit in our result. 
Result so far: 6615.53
Deduct 228 from 300 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Step 9:
The number 76 fits into 720 9 times, leaving a remainder of 36.
Put 9 as the next digit of the answer. 
Result so far: 6615.539
The remainder is 36 after subtracting 684 from 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 10:
76 goes into 360 4 times with a remainder of 56.
The next digit of our result is 4. 
Result so far: 6615.5394
If we subtract 304 from 360, we get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 11:
560 divided by 76 is 7 with a remainder of 28.
The number 7 becomes the next digit in our result. 
Result so far: 6615.53947
Deduct 532 from 560 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 12:
76 can be fit into 280 3 times, resulting in a remainder of 52.
Put 3 as the next digit of the answer. 
Result so far: 6615.539473
Subtract 228 from 280 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 13:
When dividing 520 by 76, we get 6 with a remainder of 64.
Record the quotient 6 as the next digit in the result. 
Result so far: 6615.5394736
Subtract 456 from 520 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 14:
When dividing 640 by 76, we get 8 with a remainder of 32.
The next digit of our result is 8. 
Result so far: 6615.53947368
Subtract 608 from 640 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

The final outcome is 6615.53947368, with a leftover of 3.2e-08.