We divide 350588 by 40
Our goal is to divide 350588 by 40.

On to step 1:
The number 40 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (5) from the dividend after 3, then repeat: 35 / 40

Going ahead to step 2:
35 divided by 40 is 0 with a remainder of 35.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 35 and we're left with 35.
Include the next digit (0) from the dividend after 35, then repeat: 350 / 40

Going ahead to step 3:
40 can be fit into 350 8 times, resulting in a remainder of 30.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Subtract 320 from 350 to get 30.
Take the next digit (5) from the dividend and append it to 30, then repeat: 305 / 40

Moving on to step 4:
The number 40 fits into 305 7 times, leaving a remainder of 25.
Write down 7 as next digit of the result. 
Result so far: 87.0
Subtract 280 from 305 to get 25.
Fetch the next digit (8) from the dividend, attach it to 25 and continue: 258 / 40

Going ahead to step 5:
40 goes into 258 6 times with a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 876.0
Deduct 240 from 258 and we're left with 18.
Fetch the next digit (8) from the dividend, attach it to 18 and continue: 188 / 40

Going ahead to step 6:
40 can be fit into 188 4 times, resulting in a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 8764.0
Subtract 160 from 188 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 7:
If we divide 280 by 40, we get 7 and a remainder of 0.
Record the quotient 7 as the next digit in the result. 
Result so far: 8764.7
If we subtract 280 from 280, 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 8:
When dividing 0 by 40, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 8764.7
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.

Step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 8764.7
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.

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