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

Advancing to step 1:
9 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 9

Moving on to step 2:
9 goes into 31 3 times with a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Deduct 27 from 31 and we're left with 4.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 9

On to step 3:
9 can be fit into 41 4 times, resulting in a remainder of 5.
The number 4 becomes the next digit in our result. 
Result so far: 34.0
Subtract 36 from 41 to get 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 9

Moving on to step 4:
58 divided by 9 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 346.0
Subtracting 54 from 58 leaves us with 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 9

Going ahead to step 5:
When dividing 42 by 9, we get 4 with a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 3464.0
Subtract 36 from 42 to get 6.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 9

Going ahead to step 6:
The number 9 fits into 62 6 times, leaving a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 34646.0
The remainder is 8 after subtracting 54 from 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 7:
When dividing 80 by 9, we get 8 with a remainder of 8.
The next digit of our result is 8. 
Result so far: 34646.8
Deduct 72 from 80 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 8:
9 goes into 80 8 times with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 34646.88
Subtract 72 from 80 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 34646.88, and the remainder is 0.008.