We look at the division of 39493789 by 123 
We want to figure out the number of times 39493789 can be divided by 123.

Let's proceed to step 1:
3 divided by 123 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 123

Step 2:
If we divide 39 by 123, we get 0 and a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Include the next digit (4) from the dividend after 39, then repeat: 394 / 123

Moving on to step 3:
The number 123 fits into 394 3 times, leaving a remainder of 25.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 25 after subtracting 369 from 394.
Take the next digit (9) from the dividend and append it to 25, then repeat: 259 / 123

Going ahead to step 4:
When dividing 259 by 123, we get 2 with a remainder of 13.
Put 2 as the next digit of the answer. 
Result so far: 32.0
Subtract 246 from 259 to get 13.
Bring next digit (3) of the dividend behind the 13 and repeat the process: 133 / 123

Going ahead to step 5:
When dividing 133 by 123, we get 1 with a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 321.0
Subtract 123 from 133 to get 10.
Grab the next digit (7) from the dividend, add it to 10, then carry on: 107 / 123

On to step 6:
The number 123 fits into 107 0 times, leaving a remainder of 107.
Put 0 as the next digit of the answer. 
Result so far: 3210.0
Subtract 0 from 107 to get 107.
Take the next digit (8) from the dividend and append it to 107, then repeat: 1078 / 123

Moving on to step 7:
If we divide 1078 by 123, we get 8 and a remainder of 94.
Record the quotient 8 as the next digit in the result. 
Result so far: 32108.0
Deduct 984 from 1078 and we're left with 94.
Grab the next digit (9) from the dividend, add it to 94, then carry on: 949 / 123

Moving on to step 8:
If we divide 949 by 123, we get 7 and a remainder of 88.
The next digit of our result is 7. 
Result so far: 321087.0
If we take 861 away from 949, we end up with 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Moving on to step 9:
If we divide 880 by 123, we get 7 and a remainder of 19.
Record the quotient 7 as the next digit in the result. 
Result so far: 321087.7
Subtract 861 from 880 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 10:
123 can be fit into 190 1 times, resulting in a remainder of 67.
Put 1 as the next digit of the answer. 
Result so far: 321087.71
If we take 123 away from 190, we end up with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Step 11:
When dividing 670 by 123, we get 5 with a remainder of 55.
Record the quotient 5 as the next digit in the result. 
Result so far: 321087.715
Subtract 615 from 670 to get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Step 12:
123 can be fit into 550 4 times, resulting in a remainder of 58.
The next digit of our result is 4. 
Result so far: 321087.7154
Subtracting 492 from 550 leaves us 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 13:
123 goes into 580 4 times with a remainder of 88.
The next digit of our result is 4. 
Result so far: 321087.71544
Subtract 492 from 580 to get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

The quotient of the division is 321087.71544, and the remainder is 8.8e-05.