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

Step 1:
8 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: 0.0
If we subtract 0 from 1, we get 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 8

Step 2:
12 divided by 8 is 1 with a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 4 after subtracting 8 from 12.
Include the next digit (6) from the dividend after 4, then repeat: 46 / 8

Moving on to step 3:
8 can be fit into 46 5 times, resulting in a remainder of 6.
Put 5 as the next digit of the answer. 
Result so far: 15.0
Subtract 40 from 46 to get 6.
Take the next digit (1) from the dividend and append it to 6, then repeat: 61 / 8

Step 4:
When dividing 61 by 8, we get 7 with a remainder of 5.
The next digit of our result is 7. 
Result so far: 157.0
If we subtract 56 from 61, we get 5.
Take the next digit (6) from the dividend and append it to 5, then repeat: 56 / 8

Going ahead to step 5:
If we divide 56 by 8, we get 7 and a remainder of 0.
The next digit of our result is 7. 
Result so far: 1577.0
Subtracting 56 from 56 leaves us with 0.
Include the next digit (6) from the dividend after 0, then repeat: 6 / 8

Step 6:
8 goes into 6 0 times with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 15770.0
Deduct 0 from 6 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 7:
The number 8 fits into 60 7 times, leaving a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 15770.7
If we subtract 56 from 60, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 8:
8 goes into 40 5 times with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 15770.75
The remainder is 0 after subtracting 40 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 9:
When dividing 0 by 8, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 15770.75
The remainder is 0 after subtracting 0 from 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 10:
The number 8 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 15770.75
If we take 0 away from 0, 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.

In conclusion, the division gives 15770.75 with a balance of 0.0.