We look at the division of 39135790 by 667 
Our goal is to divide 39135790 by 667.

Let's proceed to step 1:
667 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 667

Moving on to step 2:
667 can be fit into 39 0 times, resulting in a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 39 after subtracting 0 from 39.
Bring next digit (1) of the dividend behind the 39 and repeat the process: 391 / 667

Let's proceed to step 3:
391 divided by 667 is 0 with a remainder of 391.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 391 to get 391.
Grab the next digit (3) from the dividend, add it to 391, then carry on: 3913 / 667

Let's proceed to step 4:
667 can be fit into 3913 5 times, resulting in a remainder of 578.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtracting 3335 from 3913 leaves us with 578.
Append the next digit (5) from the dividend to 578 and continue with: 5785 / 667

Going ahead to step 5:
When dividing 5785 by 667, we get 8 with a remainder of 449.
The number 8 becomes the next digit in our result. 
Result so far: 58.0
The remainder is 449 after subtracting 5336 from 5785.
Grab the next digit (7) from the dividend, add it to 449, then carry on: 4497 / 667

Advancing to step 6:
The number 667 fits into 4497 6 times, leaving a remainder of 495.
Write down 6 as next digit of the result. 
Result so far: 586.0
The remainder is 495 after subtracting 4002 from 4497.
Grab the next digit (9) from the dividend, add it to 495, then carry on: 4959 / 667

Moving on to step 7:
667 can be fit into 4959 7 times, resulting in a remainder of 290.
Use 7 as the next digit of our solution. 
Result so far: 5867.0
Subtracting 4669 from 4959 leaves us with 290.
Include the next digit (0) from the dividend after 290, then repeat: 2900 / 667

Step 8:
When dividing 2900 by 667, we get 4 with a remainder of 232.
Put 4 as the next digit of the answer. 
Result so far: 58674.0
If we subtract 2668 from 2900, we get 232.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

On to step 9:
667 can be fit into 2320 3 times, resulting in a remainder of 319.
The next digit of our result is 3. 
Result so far: 58674.3
Subtracting 2001 from 2320 leaves us with 319.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3190, and continue the process.

Step 10:
667 goes into 3190 4 times with a remainder of 522.
Write down 4 as next digit of the result. 
Result so far: 58674.34
Subtract 2668 from 3190 to get 522.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5220, and continue the process.

Going ahead to step 11:
5220 divided by 667 is 7 with a remainder of 551.
The number 7 becomes the next digit in our result. 
Result so far: 58674.347
If we subtract 4669 from 5220, we get 551.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5510, and continue the process.

Step 12:
If we divide 5510 by 667, we get 8 and a remainder of 174.
The number 8 becomes the next digit in our result. 
Result so far: 58674.3478
If we subtract 5336 from 5510, we get 174.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1740, and continue the process.

Advancing to step 13:
1740 divided by 667 is 2 with a remainder of 406.
The next digit of our result is 2. 
Result so far: 58674.34782
Deduct 1334 from 1740 and we're left with 406.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4060, and continue the process.

Moving on to step 14:
4060 divided by 667 is 6 with a remainder of 58.
Put 6 as the next digit of the answer. 
Result so far: 58674.347826
If we take 4002 away from 4060, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

On to step 15:
If we divide 580 by 667, we get 0 and a remainder of 580.
Put 0 as the next digit of the answer. 
Result so far: 58674.347826
Deduct 0 from 580 and we're left with 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

Let's proceed to step 16:
If we divide 5800 by 667, we get 8 and a remainder of 464.
Write down 8 as next digit of the result. 
Result so far: 58674.34782608
If we take 5336 away from 5800, we end up with 464.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

After the division, we end up with 58674.34782608 and a remainder of 4.64e-07.