400768 divided by 39 
Let's see how many times 39 fits into 400768.

Step 1:
39 goes into 4 0 times with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 39

Going ahead to step 2:
40 divided by 39 is 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 39 from 40 and we're left with 1.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 39

Going ahead to step 3:
The number 39 fits into 10 0 times, leaving a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 10.0
Subtract 0 from 10 to get 10.
Take the next digit (7) from the dividend and append it to 10, then repeat: 107 / 39

Step 4:
When dividing 107 by 39, we get 2 with a remainder of 29.
Record the quotient 2 as the next digit in the result. 
Result so far: 102.0
The remainder is 29 after subtracting 78 from 107.
Fetch the next digit (6) from the dividend, attach it to 29 and continue: 296 / 39

Moving on to step 5:
39 goes into 296 7 times with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 1027.0
Subtract 273 from 296 to get 23.
Append the next digit (8) from the dividend to 23 and continue with: 238 / 39

Going ahead to step 6:
238 divided by 39 is 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 10276.0
If we subtract 234 from 238, we 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.

Advancing to step 7:
When dividing 40 by 39, we get 1 with a remainder of 1.
The next digit of our result is 1. 
Result so far: 10276.1
If we take 39 away from 40, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 8:
39 goes into 10 0 times with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 10276.1
Subtracting 0 from 10 leaves us with 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 9:
39 goes into 100 2 times with a remainder of 22.
The next digit of our result is 2. 
Result so far: 10276.102
Deduct 78 from 100 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 10:
39 goes into 220 5 times with a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 10276.1025
Subtracting 195 from 220 leaves us 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.

Moving on to step 11:
39 can be fit into 250 6 times, resulting in a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 10276.10256
If we take 234 away from 250, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 12:
When dividing 160 by 39, we get 4 with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 10276.102564
The remainder is 4 after subtracting 156 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 13:
The number 39 fits into 40 1 times, leaving a remainder of 1.
The next digit of our result is 1. 
Result so far: 10276.1025641
Subtracting 39 from 40 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 14:
39 goes into 10 0 times with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 10276.1025641
Subtract 0 from 10 to 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.

Our division results in 10276.1025641 with a remaining 1e-08.