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

On to step 1:
5 divided by 8 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 8

On to step 2:
The number 8 fits into 52 6 times, leaving a remainder of 4.
The next digit of our result is 6. 
Result so far: 6.0
If we take 48 away from 52, we end up with 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 8

Step 3:
8 can be fit into 42 5 times, resulting in a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 65.0
Deduct 40 from 42 and we're left with 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 8

Going ahead to step 4:
8 goes into 21 2 times with a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 652.0
The remainder is 5 after subtracting 16 from 21.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 8

Moving on to step 5:
The number 8 fits into 50 6 times, leaving a remainder of 2.
The next digit of our result is 6. 
Result so far: 6526.0
If we subtract 48 from 50, we get 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 8

Moving on to step 6:
22 divided by 8 is 2 with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 65262.0
If we take 16 away from 22, we end up 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.

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: 65262.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.

Advancing to step 8:
The number 8 fits into 40 5 times, leaving a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 65262.75
Deduct 40 from 40 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.

Advancing to step 9:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 65262.75
If we subtract 0 from 0, we 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.

Going ahead to step 10:
When dividing 0 by 8, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 65262.75
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 65262.75, and the remainder is 0.0.