Let's divide 361098 by 40
Our goal is to divide 361098 by 40.

Advancing to step 1:
When dividing 3 by 40, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 40

Let's proceed to step 2:
If we divide 36 by 40, we get 0 and a remainder of 36.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 36, we end up with 36.
Fetch the next digit (1) from the dividend, attach it to 36 and continue: 361 / 40

Moving on to step 3:
The number 40 fits into 361 9 times, leaving a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 9.0
If we take 360 away from 361, we end up with 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 40

Advancing to step 4:
If we divide 10 by 40, we get 0 and a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 90.0
Deduct 0 from 10 and we're left with 10.
Append the next digit (9) from the dividend to 10 and continue with: 109 / 40

Let's proceed to step 5:
When dividing 109 by 40, we get 2 with a remainder of 29.
Record the quotient 2 as the next digit in the result. 
Result so far: 902.0
Subtracting 80 from 109 leaves us with 29.
Grab the next digit (8) from the dividend, add it to 29, then carry on: 298 / 40

On to step 6:
When dividing 298 by 40, we get 7 with a remainder of 18.
Use 7 as the next digit of our solution. 
Result so far: 9027.0
Subtract 280 from 298 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 7:
40 goes into 180 4 times with a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 9027.4
Subtract 160 from 180 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
If we divide 200 by 40, we get 5 and a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 9027.45
If we subtract 200 from 200, 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 9:
40 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 9027.45
Subtracting 0 from 0 leaves us 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 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 9027.45
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.

After the division, we end up with 9027.45 and a remainder of 0.0.