We look at the division of 51395 by 5 
Let's see how many times 5 fits into 51395.

Going ahead to step 1:
5 can be fit into 5 1 times, resulting in a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 5 from 5, we get 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 5

Going ahead to step 2:
5 can be fit into 1 0 times, resulting in a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Subtracting 0 from 1 leaves us with 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 5

On to step 3:
When dividing 13 by 5, we get 2 with a remainder of 3.
The number 2 becomes the next digit in our result. 
Result so far: 102.0
If we subtract 10 from 13, we get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 5

Going ahead to step 4:
If we divide 39 by 5, we get 7 and a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 1027.0
If we take 35 away from 39, we end up with 4.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 5

On to step 5:
5 goes into 45 9 times with a remainder of 0.
The next digit of our result is 9. 
Result so far: 10279.0
Deduct 45 from 45 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 6:
When dividing 0 by 5, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 10279.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 7:
If we divide 0 by 5, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 10279.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 10279.0, and the remainder is 0.0.