We're dividing 365881 by 9 
Let's see how many times 9 fits into 365881.

Going ahead to step 1:
The number 9 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 9

Let's proceed to step 2:
9 can be fit into 36 4 times, resulting in a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Deduct 36 from 36 and we're left with 0.
Bring next digit (5) of the dividend behind the 0 and repeat the process: 5 / 9

Step 3:
5 divided by 9 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 40.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 9

Let's proceed to step 4:
58 divided by 9 is 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 406.0
The remainder is 4 after subtracting 54 from 58.
Include the next digit (8) from the dividend after 4, then repeat: 48 / 9

Let's proceed to step 5:
The number 9 fits into 48 5 times, leaving a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 4065.0
Subtracting 45 from 48 leaves us with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 9

Step 6:
The number 9 fits into 31 3 times, leaving a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 40653.0
Subtract 27 from 31 to 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.

On to step 7:
9 can be fit into 40 4 times, resulting in a remainder of 4.
The next digit of our result is 4. 
Result so far: 40653.4
Subtracting 36 from 40 leaves us 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.

On to step 8:
The number 9 fits into 40 4 times, leaving a remainder of 4.
The next digit of our result is 4. 
Result so far: 40653.44
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 40653.44 with a remaining 0.004.