Let's divide 400165 by 35
We want to divide 400165 by 35.

Going ahead to step 1:
When dividing 4 by 35, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 35

Advancing to step 2:
35 goes into 40 1 times with a remainder of 5.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 35 from 40 leaves us with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 35

On to step 3:
The number 35 fits into 50 1 times, leaving a remainder of 15.
Put 1 as the next digit of the answer. 
Result so far: 11.0
The remainder is 15 after subtracting 35 from 50.
Include the next digit (1) from the dividend after 15, then repeat: 151 / 35

Advancing to step 4:
If we divide 151 by 35, we get 4 and a remainder of 11.
Put 4 as the next digit of the answer. 
Result so far: 114.0
Subtracting 140 from 151 leaves us with 11.
Bring next digit (6) of the dividend behind the 11 and repeat the process: 116 / 35

Moving on to step 5:
35 goes into 116 3 times with a remainder of 11.
Put 3 as the next digit of the answer. 
Result so far: 1143.0
If we take 105 away from 116, we end up with 11.
Bring next digit (5) of the dividend behind the 11 and repeat the process: 115 / 35

Step 6:
35 goes into 115 3 times with a remainder of 10.
Put 3 as the next digit of the answer. 
Result so far: 11433.0
The remainder is 10 after subtracting 105 from 115.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 7:
100 divided by 35 is 2 with a remainder of 30.
The next digit of our result is 2. 
Result so far: 11433.2
If we subtract 70 from 100, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 8:
If we divide 300 by 35, we get 8 and a remainder of 20.
Use 8 as the next digit of our solution. 
Result so far: 11433.28
Deduct 280 from 300 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 9:
When dividing 200 by 35, we get 5 with a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 11433.285
If we take 175 away from 200, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 10:
35 goes into 250 7 times with a remainder of 5.
Use 7 as the next digit of our solution. 
Result so far: 11433.2857
The remainder is 5 after subtracting 245 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 11:
When dividing 50 by 35, we get 1 with a remainder of 15.
Put 1 as the next digit of the answer. 
Result so far: 11433.28571
If we subtract 35 from 50, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 12:
35 can be fit into 150 4 times, resulting in a remainder of 10.
Record the quotient 4 as the next digit in the result. 
Result so far: 11433.285714
If we subtract 140 from 150, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 13:
The number 35 fits into 100 2 times, leaving a remainder of 30.
Use 2 as the next digit of our solution. 
Result so far: 11433.2857142
Subtracting 70 from 100 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 14:
If we divide 300 by 35, we get 8 and a remainder of 20.
Use 8 as the next digit of our solution. 
Result so far: 11433.28571428
If we take 280 away from 300, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

After the division, we end up with 11433.28571428 and a remainder of 2e-08.