Let's divide 526164 by 8
We're looking to find how many times 8 goes into 526164.

Moving on to step 1:
If we divide 5 by 8, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 8

Going ahead to step 2:
If we divide 52 by 8, we get 6 and a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 6.0
If we subtract 48 from 52, we get 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 8

Let's proceed to step 3:
46 divided by 8 is 5 with a remainder of 6.
Put 5 as the next digit of the answer. 
Result so far: 65.0
Subtract 40 from 46 to get 6.
Grab the next digit (1) from the dividend, add it to 6, then carry on: 61 / 8

Let's proceed to step 4:
If we divide 61 by 8, we get 7 and a remainder of 5.
Write down 7 as next digit of the result. 
Result so far: 657.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

Advancing to step 5:
8 goes into 56 7 times with a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 6577.0
Subtracting 56 from 56 leaves us with 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 8

On to step 6:
When dividing 4 by 8, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 65770.0
Deduct 0 from 4 and we're left with 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 7:
8 goes into 40 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 65770.5
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.

Going ahead to step 8:
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: 65770.5
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.

On to step 9:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 65770.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 final outcome is 65770.5, with a leftover of 0.0.