Let's divide 159518 by 4
We want to divide 159518 by 4.

On to step 1:
The number 4 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 4

Step 2:
The number 4 fits into 15 3 times, leaving a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 3.0
The remainder is 3 after subtracting 12 from 15.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 4

Step 3:
When dividing 39 by 4, we get 9 with a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
Subtract 36 from 39 to get 3.
Grab the next digit (5) from the dividend, add it to 3, then carry on: 35 / 4

Advancing to step 4:
When dividing 35 by 4, we get 8 with a remainder of 3.
Record the quotient 8 as the next digit in the result. 
Result so far: 398.0
Deduct 32 from 35 and we're left with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 4

Step 5:
4 goes into 31 7 times with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 3987.0
Deduct 28 from 31 and we're left with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 4

On to step 6:
When dividing 38 by 4, we get 9 with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 39879.0
The remainder is 2 after subtracting 36 from 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
4 can be fit into 20 5 times, resulting in a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 39879.5
If we take 20 away from 20, we end up 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.

Moving on to step 8:
4 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 39879.5
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.

Going ahead to step 9:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 39879.5
Subtract 0 from 0 to 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.

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