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

Advancing to step 1:
79 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 79

Going ahead to step 2:
79 goes into 50 0 times with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Take the next digit (6) from the dividend and append it to 50, then repeat: 506 / 79

Moving on to step 3:
When dividing 506 by 79, we get 6 with a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 6.0
The remainder is 32 after subtracting 474 from 506.
Fetch the next digit (3) from the dividend, attach it to 32 and continue: 323 / 79

Moving on to step 4:
323 divided by 79 is 4 with a remainder of 7.
Use 4 as the next digit of our solution. 
Result so far: 64.0
Deduct 316 from 323 and we're left with 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 79

Moving on to step 5:
The number 79 fits into 77 0 times, leaving a remainder of 77.
Use 0 as the next digit of our solution. 
Result so far: 640.0
Subtracting 0 from 77 leaves us with 77.
Take the next digit (2) from the dividend and append it to 77, then repeat: 772 / 79

Advancing to step 6:
79 can be fit into 772 9 times, resulting in a remainder of 61.
Write down 9 as next digit of the result. 
Result so far: 6409.0
Subtracting 711 from 772 leaves us with 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Step 7:
If we divide 610 by 79, we get 7 and a remainder of 57.
The next digit of our result is 7. 
Result so far: 6409.7
Deduct 553 from 610 and we're left with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Going ahead to step 8:
If we divide 570 by 79, we get 7 and a remainder of 17.
Put 7 as the next digit of the answer. 
Result so far: 6409.77
Subtract 553 from 570 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

The quotient of the division is 6409.77, and the remainder is 0.017.