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

Going ahead to step 1:
When dividing 5 by 51, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 51

On to step 2:
If we divide 50 by 51, we get 0 and a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Take the next digit (1) from the dividend and append it to 50, then repeat: 501 / 51

Let's proceed to step 3:
The number 51 fits into 501 9 times, leaving a remainder of 42.
Use 9 as the next digit of our solution. 
Result so far: 9.0
Subtracting 459 from 501 leaves us with 42.
Take the next digit (3) from the dividend and append it to 42, then repeat: 423 / 51

Advancing to step 4:
If we divide 423 by 51, we get 8 and a remainder of 15.
Use 8 as the next digit of our solution. 
Result so far: 98.0
If we subtract 408 from 423, we get 15.
Fetch the next digit (4) from the dividend, attach it to 15 and continue: 154 / 51

On to step 5:
51 goes into 154 3 times with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 983.0
If we take 153 away from 154, we end up with 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 51

Step 6:
If we divide 15 by 51, we get 0 and a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 9830.0
The remainder is 15 after subtracting 0 from 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 7:
51 can be fit into 150 2 times, resulting in a remainder of 48.
The next digit of our result is 2. 
Result so far: 9830.2
Subtract 102 from 150 to get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 8:
If we divide 480 by 51, we get 9 and a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 9830.29
The remainder is 21 after subtracting 459 from 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 9:
If we divide 210 by 51, we get 4 and a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 9830.294
Subtracting 204 from 210 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 10:
60 divided by 51 is 1 with a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 9830.2941
If we take 51 away from 60, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 11:
51 goes into 90 1 times with a remainder of 39.
Put 1 as the next digit of the answer. 
Result so far: 9830.29411
Subtracting 51 from 90 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Our division results in 9830.29411 with a remaining 3.9e-05.