We look at the division of 310822 by 8 
We want to figure out the number of times 310822 can be divided by 8.

Step 1:
3 divided by 8 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 8

Let's proceed to step 2:
31 divided by 8 is 3 with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we subtract 24 from 31, we get 7.
Append the next digit (0) from the dividend to 7 and continue with: 70 / 8

Let's proceed to step 3:
70 divided by 8 is 8 with a remainder of 6.
The next digit of our result is 8. 
Result so far: 38.0
If we take 64 away from 70, we end up with 6.
Take the next digit (8) from the dividend and append it to 6, then repeat: 68 / 8

On to step 4:
If we divide 68 by 8, we get 8 and a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 388.0
If we subtract 64 from 68, we get 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 8

Step 5:
When dividing 42 by 8, we get 5 with a remainder of 2.
Record the quotient 5 as the next digit in the result. 
Result so far: 3885.0
If we take 40 away from 42, we end up with 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 8

Advancing to step 6:
If we divide 22 by 8, we get 2 and a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 38852.0
Subtracting 16 from 22 leaves us 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: 38852.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:
If we divide 40 by 8, we get 5 and a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 38852.75
Subtract 40 from 40 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.

Going ahead to step 9:
0 divided by 8 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 38852.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.

Step 10:
8 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 38852.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.

The quotient of the division is 38852.75, and the remainder is 0.0.