We're dividing 166786 by 25 
We want to figure out the number of times 166786 can be divided by 25.

Let's proceed to step 1:
1 divided by 25 is 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 25

On to step 2:
The number 25 fits into 16 0 times, leaving a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 16 and we're left with 16.
Fetch the next digit (6) from the dividend, attach it to 16 and continue: 166 / 25

Going ahead to step 3:
25 goes into 166 6 times with a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Deduct 150 from 166 and we're left with 16.
Grab the next digit (7) from the dividend, add it to 16, then carry on: 167 / 25

Let's proceed to step 4:
When dividing 167 by 25, we get 6 with a remainder of 17.
The next digit of our result is 6. 
Result so far: 66.0
If we take 150 away from 167, we end up with 17.
Fetch the next digit (8) from the dividend, attach it to 17 and continue: 178 / 25

On to step 5:
The number 25 fits into 178 7 times, leaving a remainder of 3.
The next digit of our result is 7. 
Result so far: 667.0
Subtract 175 from 178 to get 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 25

Advancing to step 6:
When dividing 36 by 25, we get 1 with a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 6671.0
Deduct 25 from 36 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 7:
25 can be fit into 110 4 times, resulting in a remainder of 10.
Put 4 as the next digit of the answer. 
Result so far: 6671.4
Subtracting 100 from 110 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
100 divided by 25 is 4 with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 6671.44
Deduct 100 from 100 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.

After the division, we end up with 6671.44 and a remainder of 0.0.