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

Moving on to step 1:
18 goes into 2 0 times with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 18

Going ahead to step 2:
18 goes into 25 1 times with a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 18 from 25, we get 7.
Grab the next digit (1) from the dividend, add it to 7, then carry on: 71 / 18

Advancing to step 3:
When dividing 71 by 18, we get 3 with a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
If we subtract 54 from 71, we get 17.
Grab the next digit (8) from the dividend, add it to 17, then carry on: 178 / 18

Advancing to step 4:
18 can be fit into 178 9 times, resulting in a remainder of 16.
The number 9 becomes the next digit in our result. 
Result so far: 139.0
Deduct 162 from 178 and we're left with 16.
Include the next digit (6) from the dividend after 16, then repeat: 166 / 18

Going ahead to step 5:
18 can be fit into 166 9 times, resulting in a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 1399.0
Deduct 162 from 166 and we're left with 4.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 18

Going ahead to step 6:
18 goes into 41 2 times with a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 13992.0
If we subtract 36 from 41, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 7:
The number 18 fits into 50 2 times, leaving a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 13992.2
Deduct 36 from 50 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 8:
If we divide 140 by 18, we get 7 and a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 13992.27
If we take 126 away from 140, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 9:
The number 18 fits into 140 7 times, leaving a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 13992.277
Subtracting 126 from 140 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final outcome is 13992.277, with a leftover of 0.0014.