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

Step 1:
When dividing 5 by 502, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 502

Step 2:
The number 502 fits into 51 0 times, leaving a remainder of 51.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 51, we end up with 51.
Bring next digit (7) of the dividend behind the 51 and repeat the process: 517 / 502

Let's proceed to step 3:
The number 502 fits into 517 1 times, leaving a remainder of 15.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 502 from 517 leaves us with 15.
Append the next digit (9) from the dividend to 15 and continue with: 159 / 502

Let's proceed to step 4:
502 goes into 159 0 times with a remainder of 159.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Subtracting 0 from 159 leaves us with 159.
Grab the next digit (9) from the dividend, add it to 159, then carry on: 1599 / 502

Step 5:
The number 502 fits into 1599 3 times, leaving a remainder of 93.
The number 3 becomes the next digit in our result. 
Result so far: 103.0
Deduct 1506 from 1599 and we're left with 93.
Take the next digit (1) from the dividend and append it to 93, then repeat: 931 / 502

On to step 6:
The number 502 fits into 931 1 times, leaving a remainder of 429.
Record the quotient 1 as the next digit in the result. 
Result so far: 1031.0
Subtracting 502 from 931 leaves us with 429.
Fetch the next digit (6) from the dividend, attach it to 429 and continue: 4296 / 502

Step 7:
502 goes into 4296 8 times with a remainder of 280.
Write down 8 as next digit of the result. 
Result so far: 10318.0
Subtract 4016 from 4296 to get 280.
Grab the next digit (7) from the dividend, add it to 280, then carry on: 2807 / 502

Moving on to step 8:
502 can be fit into 2807 5 times, resulting in a remainder of 297.
Write down 5 as next digit of the result. 
Result so far: 103185.0
If we subtract 2510 from 2807, we get 297.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2970, and continue the process.

Let's proceed to step 9:
If we divide 2970 by 502, we get 5 and a remainder of 460.
Record the quotient 5 as the next digit in the result. 
Result so far: 103185.5
The remainder is 460 after subtracting 2510 from 2970.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Advancing to step 10:
The number 502 fits into 4600 9 times, leaving a remainder of 82.
Record the quotient 9 as the next digit in the result. 
Result so far: 103185.59
Deduct 4518 from 4600 and we're left with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Going ahead to step 11:
When dividing 820 by 502, we get 1 with a remainder of 318.
The next digit of our result is 1. 
Result so far: 103185.591
The remainder is 318 after subtracting 502 from 820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3180, and continue the process.

Moving on to step 12:
502 can be fit into 3180 6 times, resulting in a remainder of 168.
Write down 6 as next digit of the result. 
Result so far: 103185.5916
If we take 3012 away from 3180, we end up with 168.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

Step 13:
502 goes into 1680 3 times with a remainder of 174.
The number 3 becomes the next digit in our result. 
Result so far: 103185.59163
Subtract 1506 from 1680 to get 174.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1740, and continue the process.

Moving on to step 14:
When dividing 1740 by 502, we get 3 with a remainder of 234.
Record the quotient 3 as the next digit in the result. 
Result so far: 103185.591633
If we subtract 1506 from 1740, we get 234.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2340, and continue the process.

After the division, we end up with 103185.591633 and a remainder of 2.34e-05.